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 with KITTI dataset. #24

Open
csj777 opened this issue Oct 27, 2021 · 0 comments
Open

Error with KITTI dataset. #24

csj777 opened this issue Oct 27, 2021 · 0 comments

Comments

@csj777
Copy link

csj777 commented Oct 27, 2021

Hi, thanks for your amazing work. We are trying to run it with KITTI dataset. Howerer, we meet some errors now.
we run like this:
python test.py --gpu 0 --workdir ./output --model grnet --weights ./models/GRNet-KITTI.pth --test_mode kitti

return

INFO: - Finish building dataset.
DEBUG: - Parameters in net_G: 76707626.
INFO: - Recovering from ./models/GRNet-KITTI.pth ...
Traceback (most recent call last):
File "test.py", line 80, in
main()
File "test.py", line 74, in main
model = getattr(module, args.model + "Runner")(cfg, logger)
File "/space2/home/chensj/projects/SpareNet/runners/grnet_runner.py", line 19, in init
super().init(config, logger)
File "/space2/home/chensj/projects/SpareNet/runners/base_runner.py", line 79, in init
self.models_load()
File "/space2/home/chensj/projects/SpareNet/runners/base_runner.py", line 108, in models_load
self.init_epoch, self.best_metrics = um.model_load(self.config, self.models)
File "/space2/home/chensj/projects/SpareNet/utils/misc.py", line 75, in model_load
net_G.load_state_dict(checkpoint["net_G"]) # change into net_G!!
KeyError: 'net_G'

Could you please give me some advice?

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