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

issue when run prepare_test #13

Closed
gangliu123 opened this issue Apr 12, 2018 · 2 comments
Closed

issue when run prepare_test #13

gangliu123 opened this issue Apr 12, 2018 · 2 comments

Comments

@gangliu123
Copy link

gangliu123 commented Apr 12, 2018

Hi, I got some error when I try to get test.txt by running prepare_test file. Could you give me some help? Thanks a lot.

Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/deeplearn/anaconda3/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/deeplearn/anaconda3/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/gangliu/ctw-baseline/ssd/pythonapi/common_tools.py", line 77, in parallel_work
func(*args_list[i], tid=tid)
File "/home/gangliu/ctw-baseline/ssd/pythonapi/common_tools.py", line 92, in foo
func(*args)
File "../detection/prepare_test_data.py", line 77, in foo
crop_once(*args)
File "../detection/prepare_test_data.py", line 52, in crop_once
assert image.shape == imshape
AttributeError: 'NoneType' object has no attribute 'shape'

list test 0 / 1

@yuantailing
Copy link
Owner

Print image file name, ensure file exists. If not, see `Download images and annotations' section in tutorial part-1.

@gangliu123
Copy link
Author

I‘ll try it. Thank you.

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