FastTextClassification icon indicating copy to clipboard operation
FastTextClassification copied to clipboard

tools文件夹内缺少文件

Open tonyshotter opened this issue 9 months ago • 0 comments

你好,我在运行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

tonyshotter avatar Mar 19 '25 02:03 tonyshotter