SpatioTemporalSegmentation
SpatioTemporalSegmentation copied to clipboard
TypeError: 'pybind11_type' object is not iterable
The following line is giving a syntax error https://github.com/chrischoy/SpatioTemporalSegmentation/blob/4afee296ebe387d9a06fc1b168c4af212a2b4804/models/modules/common.py#L61
File "/home/SandeepMenon/SpatioTemporalSegmentation/main.py", line 28, in
Environment details Minkowski Engine : 0.5.4 PyTorch : 1.7.1
It can be replaced with
int_to_region_type = {m: ME.RegionType(m) for m in range(3)}
@chrischoy Is this fix relevant or is it due to MinkowskiEngine version mismatch.
It can be replaced with
int_to_region_type = {m: ME.RegionType(m) for m in range(3)}@chrischoy Is this fix relevant or is it due to MinkowskiEngine version mismatch.
Mostly the version mismatch, could you raise a pr for it? I guess this repository hasn't been updated for so long, and people nowadays using ME v0.5.4 naturally run into these problems...
I'll raise the PR. Thank you