Skip to content

TypeError: __init__() missing 1 required positional argument: 'region_type' #58

Description

@kunzaiyy

When I ran the scannet demo of this project,it said :
Traceback (most recent call last):
File "/home/iipl/SpatioTemporalSegmentation/demo/scannet.py", line 127, in
model = Res16UNet34C(3, 20, config).to(device)
File "/home/iipl/SpatioTemporalSegmentation/models/res16unet.py", line 23, in init
super(Res16UNetBase, self).init(in_channels, out_channels, config, D)
File "/home/iipl/SpatioTemporalSegmentation/models/resnet.py", line 25, in init
self.network_initialization(in_channels, out_channels, config, D)
File "/home/iipl/SpatioTemporalSegmentation/models/res16unet.py", line 38, in network_initialization
self.conv0p1s1 = conv(
File "/home/iipl/SpatioTemporalSegmentation/models/modules/common.py", line 129, in conv
return ME.MinkowskiConvolution(
TypeError: init() missing 1 required positional argument: 'region_type'

Does anyone know how to solve this problem?Thank you!!!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions