SLOPER4D
SLOPER4D copied to clipboard
bugs when process human cropping ( process_human_points.py)
The error are as follows:
File "/remote-home/c/diffusion/data/SLOPER4D/utils/multiprocess.py", line 18, in istarmap
result = mpp.IMapIterator(self) # istarmap.py for Python 3.8+
File "/root/anaconda3/envs/dataenv/lib/python3.7/multiprocessing/pool.py", line 725, in __init__
cache[self._job] = self
TypeError: 'Pool' object does not support item assignment
I notice the code
map_func = p.istarmap if multi_param else p.imap
and if I set multi_param=False
I get:
TypeError: crop_and_save() missing 2 required positional arguments: 'frame_id' and 'bbox'