Skip to content

tools文件夹内缺少文件 #2

@tonyshotter

Description

@tonyshotter

你好,我在运行run_multi_label.py 的时候提示ModuleNotFoundError: No module named 'tools.losses'
检查了一下可能是代码没上传完整,在run_multi_label.py中导的这些包在tools文件夹里面没有。
from tools.losses import cross_entropy_multi_label, multi_label_circle_loss
from tools.train_eval import train, init_network

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions