Skip to content

A bug in utils.py #9

@ppllracing

Description

@ppllracing

I met this Error
Traceback (most recent call last):
File "RGB2point/inference.py", line 3, in
from utils import predict
File "RGB2point/utils.py", line 157, in
class EMDLoss(nn.Module):
NameError: name 'nn' is not defined

There should be "import torch.nn as nn" in the utils.py.

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