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

Assertion Error in 'prepare_data.py' #29

Open
Rishika-Rathore opened this issue Jun 7, 2020 · 0 comments
Open

Assertion Error in 'prepare_data.py' #29

Rishika-Rathore opened this issue Jun 7, 2020 · 0 comments

Comments

@Rishika-Rathore
Copy link

Used this code as specified but got an assertion error.
I have also kept the files in the directory as specified.
I ran the command python prepare_data.py --data_path ~/Dota/dataset/ --num_process 32

The output that I got after running the script:

('padding:', True)('padding:', True) ('padding:', True) ('srcpath: ', '~/Dota/dataset/trainval1024_1/images') ('num: ', 0) ('srcpath: ', '~/Dota/dataset/trainval1024_1/labelTxt') ('num: ', 0) ('srcpath: ', '~/Dota/dataset/trainval_large_1024_0.4/images') ('num: ', 0) ('srcpath: ', '~/Dota/dataset/trainval_large_1024_0.4/labelTxt') ('num: ', 0) ('srcpath: ', '~/Dota/dataset/trainval_large_1024_0.4_rotate/images') ('num: ', 0) ('srcpath: ', '~/Dota/dataset/trainval_large_1024_0.4_rotate/labelTxt') ('num: ', 0) Traceback (most recent call last): File "prepare_data.py", line 352, in <module> prepare() File "prepare_data.py", line 327, in prepare split_test.splitdata(1) File "~/Dota/RoITransformer_DOTA/prepare_data/SplitOnlyImage_multi_process.py", line 88, in splitdata self.pool.map(worker, imagenames) File "~/anaconda3/envs/dota/lib/python2.7/multiprocessing/pool.py", line 253, in map return self.map_async(func, iterable, chunksize).get() File "~/anaconda3/envs/dota/lib/python2.7/multiprocessing/pool.py", line 572, in get raise self._value AssertionError

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