You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: