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
I am resizing the kinetics400 dataset. The full error is:
"""
Traceback (most recent call last):
File "/home/user/anaconda3/envs/openmmlab/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/home/user/anaconda3/envs/openmmlab/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "../resize_videos.py", line 36, in resize_videos
w, h = [int(d) for d in result.readline().rstrip().split(',')]
File "../resize_videos.py", line 36, in
w, h = [int(d) for d in result.readline().rstrip().split(',')]
ValueError: invalid literal for int() with base 10: ''
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "../resize_videos.py", line 122, in
pool.map(resize_videos, zip(fullpath_list, vid_list))
File "/home/user/anaconda3/envs/openmmlab/lib/python3.8/multiprocessing/pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/user/anaconda3/envs/openmmlab/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
ValueError: invalid literal for int() with base 10: ''
It should be a missing char to cause the int convrting error, but the dataset videos can be played normaly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am resizing the kinetics400 dataset. The full error is:
"""
Traceback (most recent call last):
File "/home/user/anaconda3/envs/openmmlab/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/home/user/anaconda3/envs/openmmlab/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "../resize_videos.py", line 36, in resize_videos
w, h = [int(d) for d in result.readline().rstrip().split(',')]
File "../resize_videos.py", line 36, in
w, h = [int(d) for d in result.readline().rstrip().split(',')]
ValueError: invalid literal for int() with base 10: ''
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "../resize_videos.py", line 122, in
pool.map(resize_videos, zip(fullpath_list, vid_list))
File "/home/user/anaconda3/envs/openmmlab/lib/python3.8/multiprocessing/pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/user/anaconda3/envs/openmmlab/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
ValueError: invalid literal for int() with base 10: ''
It should be a missing char to cause the int convrting error, but the dataset videos can be played normaly.
Beta Was this translation helpful? Give feedback.
All reactions