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

test problem #5

Open
wujiachen987 opened this issue Dec 14, 2017 · 3 comments
Open

test problem #5

wujiachen987 opened this issue Dec 14, 2017 · 3 comments

Comments

@wujiachen987
Copy link

wujiachen987 commented Dec 14, 2017

I successful run the train.py ,but I can't run the test.py.
Traceback (most recent call last):
File "/home/zzz/pycharm-community-2017.2.3/helpers/pydev/pydevd.py", line 1599, in
globals = debugger.run(setup['file'], None, None, is_module)
File "/home/zzz/pycharm-community-2017.2.3/helpers/pydev/pydevd.py", line 1026, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "/home/zzz/RetinaNet/retinanet/test.py", line 56, in
main()
File "/home/zzz/RetinaNet/retinanet/test.py", line 53, in main
args.vis, args.ignore_cache, args.shuffle, config.TEST.HAS_RPN, config.dataset.proposal, args.thresh, logger=logger, output_path=final_output_path)
File "/home/zzz/RetinaNet/retinanet/function/test_rcnn.py", line 37, in test_rcnn
imdb = eval(dataset)(image_set, root_path, dataset_path, result_path=output_path)
File "/home/zzz/RetinaNet/retinanet/../lib/dataset/kitti.py", line 38, in init
self._image_index = self._load_image_set_index()
File "/home/zzz/RetinaNet/retinanet/../lib/dataset/kitti.py", line 69, in _load_image_set_index
'Path does not exist: {}'.format(image_set_file)
AssertionError: Path does not exist: ../data/kitti/ImageSets/imageset.txt

I downloaded the datasets which you support,but it haven't imagesets ,how can i do?

Thanks. @unsky

@ChienLiu
Copy link

ChienLiu commented Dec 22, 2017

Can you give a brief explanation of the training steps?
Because the author's description is not very detailed, the Internet can not find other discussions.
Sorry to bother you.

@wujiachen987
Copy link
Author

@ChienLiu About testing, I solved previous issue.And in the Retinanet folder, I find another test. But I met this issue.
Traceback (most recent call last):
File "/home/zzz/RetinaNet/retinanet/test.py", line 56, in
main()
File "/home/zzz/RetinaNet/retinanet/test.py", line 53, in main
args.vis, args.ignore_cache, args.shuffle, config.TEST.HAS_RPN, config.dataset.proposal, args.thresh, logger=logger, output_path=final_output_path)
File "/home/zzz/RetinaNet/retinanet/function/test_rcnn.py", line 54, in test_rcnn
sym_instance.infer_shape(data_shape_dict)
File "/home/zzz/RetinaNet/retinanet/../lib/utils/symbol.py", line 40, in infer_shape
arg_shape, out_shape, aux_shape = self.sym.infer_shape(**data_shape_dict)
AttributeError: 'NoneType' object has no attribute 'infer_shape'
So far, I can't solve this issue.
About train, according to the author's readme,and erro message I training successful. You need to download dataset in the kitti website.

@wujiachen987
Copy link
Author

I train the kitti,others are all right. However, the cls loss is increasing. And In my dataset, the same situation occurred.This is a training situation map.I don't know why, and how to solve it.Have you encountered such a situation during your training?Looking forward to your reply, Thanks.
@unsky
screenshot from 2017-12-24 13-20-49

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

2 participants