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
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'
The text was updated successfully, but these errors were encountered:
Please use Python > 3.8+, otherwise, it could be causing issues with certain operations in the multiprocessing function.
If you still encounter errors with the multiprocessing function, (I have no problems running in my old environment but encounter issues after reinstalling the environment, and I don't know why. It's very frustrating.)
You can try commenting out all the code related to the multi_func and instead use a for loop iteration. Like the code below:
The error are as follows:
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'
The text was updated successfully, but these errors were encountered: