question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Checkpoint is not found

See original GitHub issue

I am trying to run this command after I have trained the network but it is giving an error.

python -m keras_segmentation predict \
 --checkpoints_path="path_to_checkpoints" \
 --input_path="dataset1/images_prepped_test/" \
 --output_path="path_to_predictions"

File "C:\Users\Caiow\AppData\Local\Programs\Python\Python38\lib\site-packages\keras_segmentation\predict.py", line 175, in predict_multiple model = model_from_checkpoint_path(checkpoints_path) File "C:\Users\Caiow\AppData\Local\Programs\Python\Python38\lib\site-packages\keras_segmentation\predict.py", line 29, in model_from_checkpoint_path assert (latest_weights is not None), "Checkpoint not found." AssertionError: Checkpoint not found.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:23 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
divamguptacommented, Aug 28, 2020

Yes, this change is caused by newer versions of tf/keras. Downgrading should work. I will also push the update shortly

1reaction
divamguptacommented, Sep 16, 2020

Its fixed now. Everything should work with latest TF/keras versions. Here is a working google colab example: https://colab.research.google.com/drive/1Kpy4QGFZ2ZHm69mPfkmLSUes8kj6Bjyi?usp=sharing

Read more comments on GitHub >

github_iconTop Results From Across the Web

Detectron2 Checkpoint not found - Stack Overflow
For now, I found a manual solution. I downloaded the model from the link and saved it to my drive profile. Then I...
Read more >
How to Fix the Error: Hyper-V Checkpoint Operation Failed
The Edit is not available because checkpoints exist for this VM error can occur when you try to edit the virtual disk settings...
Read more >
checkpoint not found after successful sync down - Ray Tune
TL;DR: Ray Tune on GCP cluster fails to sync down last checkpoint Hi, I am trying the Ray tune mnist_pytorch example (mnist_pytorch —...
Read more >
When I open my Checkpoint Tools for PPC, why am I getting ...
When I open my Checkpoint Tools for PPC, why am I getting message that a valid license is not found and the documents...
Read more >
Requested Object not found - Check Point CheckMates
"name": "vpn-efef", "email": "test@checkpoint.com", "expiration-date": "2022-01-05",
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found