Skip to content

Num_Spatial_Dims argument missing #24

@annecastille

Description

@annecastille

Error message:
\FewShot_GAN-Unet3D-master\pytorch\graphs\models\custom_functions\weight_norm.py",
line 165, in forward
output_padding = self._output_padding(input, output_size, self.stride, self.padding,
self.kernel_size)
TypeError: _output_padding() missing 1 required positional argument: 'num_spatial_dims'

It states that the num_spatial_dims argument is missing from line 165 in the weight_norm python file (within the 'forward' definition). What should this value for nums_spatial_dims be? Thank you!

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