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

NotImplementedError #29

Open
annamykol opened this issue Sep 22, 2023 · 1 comment
Open

NotImplementedError #29

annamykol opened this issue Sep 22, 2023 · 1 comment

Comments

@annamykol
Copy link

I'm trying to run Detectron2 with the command
python tools/train_net.py --config-file "configs\Anchor_based\a172_config.yaml" --eval-only MODEL.WEIGHTS "models\Anchor_based\A172\LIVECell_anchor_based_a172_model.pth" MODEL.DEVICE cpu
but receiving
File "tools/train_net.py", line 140, in main
res = Trainer.test(cfg, model)
File "c:\users\ann\gil\open sourced\detectron2-resnest\detectron2\engine\defaults.py", line 497, in test
results_i = inference_on_dataset(model, data_loader, evaluator)
File "c:\users\ann\gil\open sourced\detectron2-resnest\detectron2\evaluation\evaluator.py", line 141, in inference_on_dataset
outputs = model(inputs)
NotImplementedError

What can be wrong?

@annamykol
Copy link
Author

Ok, it seems to be the detectron2 issue while using cpu

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