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 "/home/SandeepMenon/SpatioTemporalSegmentation/main.py", line 28, in
from models import load_model, load_wrapper
File "/home/SandeepMenon/SpatioTemporalSegmentation/models/init.py", line 1, in
import models.resunet as resunet
File "/home/SandeepMenon/SpatioTemporalSegmentation/models/resunet.py", line 1, in
from models.resnet import ResNetBase, get_norm
File "/home/SandeepMenon/SpatioTemporalSegmentation/models/resnet.py", line 6, in
from models.modules.common import ConvType, NormType, get_norm, conv, sum_pool
File "/home/SandeepMenon/SpatioTemporalSegmentation/models/modules/common.py", line 61, in
int_to_region_type = {m.value: m for m in ME.RegionType}
TypeError: 'pybind11_type' object is not iterable
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...
The following line is giving a syntax error
SpatioTemporalSegmentation/models/modules/common.py
Line 61 in 4afee29
File "/home/SandeepMenon/SpatioTemporalSegmentation/main.py", line 28, in
from models import load_model, load_wrapper
File "/home/SandeepMenon/SpatioTemporalSegmentation/models/init.py", line 1, in
import models.resunet as resunet
File "/home/SandeepMenon/SpatioTemporalSegmentation/models/resunet.py", line 1, in
from models.resnet import ResNetBase, get_norm
File "/home/SandeepMenon/SpatioTemporalSegmentation/models/resnet.py", line 6, in
from models.modules.common import ConvType, NormType, get_norm, conv, sum_pool
File "/home/SandeepMenon/SpatioTemporalSegmentation/models/modules/common.py", line 61, in
int_to_region_type = {m.value: m for m in ME.RegionType}
TypeError: 'pybind11_type' object is not iterable
Environment details
Minkowski Engine : 0.5.4
PyTorch : 1.7.1
The text was updated successfully, but these errors were encountered: