Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running the pretrained model #7

Open
SodaCoder opened this issue Feb 8, 2021 · 1 comment
Open

Error while running the pretrained model #7

SodaCoder opened this issue Feb 8, 2021 · 1 comment

Comments

@SodaCoder
Copy link

I am running the command:
python3 test.py --model ./model/model.index --config ./config/train.cfg --input test.png --output output2.png

I am getting the following errors:

  1. File "/home/iplab/BoneSuppression/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1451, in _call_tf_sessionrun
    return tf_session.TF_SessionRun_wrapper(self._session, options, feed_dict,
    tensorflow.python.framework.errors_impl.NotFoundError: Tensor name "Variable" not found in checkpoint files ./model/model.index
    [[{{node save/RestoreV2}}]]
  2. Traceback (most recent call last):
    File "/home/iplab/BoneSuppression/lib/python3.8/site-packages/tensorflow/python/training/py_checkpoint_reader.py", line 69, in get_tensor
    return CheckpointReader.CheckpointReader_GetTensor(
    RuntimeError: _CHECKPOINTABLE_OBJECT_GRAPH not found in checkpoint file

Is there any solution to this issue?

Thanks & Regards,
Sourav Das

@SodaCoder
Copy link
Author

Could you kindly create a new pre-trained model with the latest version of the packages?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant