facebookresearch / maskrcnn-benchmark

Fast, modular reference implementation of Instance Segmentation and Object Detection algorithms in PyTorch.
MIT License
9.27k stars 2.5k forks source link

NMS #1197

Open qiqcheng opened 4 years ago

qiqcheng commented 4 years ago

❓ Questions and Help

Could you tell me what this code means?

from maskrcnn_benchmark import _C

from apex import amp

nms = amp.float_function(_C.nms)

wyz-gitt commented 2 years ago

你好,我运行程序报这个错, File "tools/relation_train_net.py", line 17, in from maskrcnn_benchmark.data import make_data_loader File "/home/handong/yz/Scene-Graph-Transformer-CogTree-master/sg-benchmark/maskrcnn_benchmark/data/init.py", line 2, in from .build import make_data_loader, get_dataset_statistics File "/home/handong/yz/Scene-Graph-Transformer-CogTree-master/sg-benchmark/maskrcnn_benchmark/data/build.py", line 11, in from maskrcnn_benchmark.utils.miscellaneous import save_labels File "/home/handong/yz/Scene-Graph-Transformer-CogTree-master/sg-benchmark/maskrcnn_benchmark/utils/miscellaneous.py", line 10, in from maskrcnn_benchmark.structures.boxlist_ops import boxlist_iou File "/home/handong/yz/Scene-Graph-Transformer-CogTree-master/sg-benchmark/maskrcnn_benchmark/structures/boxlist_ops.py", line 7, in from maskrcnn_benchmark.layers import nms as _box_nms File "/home/handong/yz/Scene-Graph-Transformer-CogTree-master/sg-benchmark/maskrcnn_benchmark/layers/init.py", line 10, in from .nms import nms File "/home/handong/yz/Scene-Graph-Transformer-CogTree-master/sg-benchmark/maskrcnn_benchmark/layers/nms.py", line 8, in nms = amp.float_function(_C.nms) File "/home/anaconda3/envs/sg/lib/python3.8/site-packages/yacs/config.py", line 141, in getattr raise AttributeError(name) 请问你遇到过这个问题吗

linglingling0001215 commented 2 years ago

请问这个问题怎么解决?

SSSeven7 commented 1 year ago

Have you solved this problem and how