Assertion Error while running the demo
tshaark opened this issue · 3 comments
tshaark commented
Traceback (most recent call last):
File "demo.py", line 59, in
main()
File "demo.py", line 15, in main
checkpoint_path = utils.find_checkpoint(cfg.INTERACTIVE_MODELS_PATH, args.checkpoint)
File "/home/tshaark/fbrs_interactive_segmentation/isegm/inference/utils.py", line 173, in find_checkpoint
assert len(model_checkpoints) == 1
AssertionError
I get this error when I try to run the demo and a similar one when I try to train. Where am I going wrong?
ksofiyuk commented
It's most likely that you incorrectly specified the path to the model weights (check --checkpoint
argument).
tshaark commented
Do I have to download the weights for the models I want to use? If so, what should be path of the weights directory?