yolact icon indicating copy to clipboard operation
yolact copied to clipboard

There is a bug when I want to do test with yolact.

Open cxychen-hub opened this issue 1 year ago • 1 comments

my command:python eval.py --trained_model=weights/yolact_base_54_800000.pth --score_threshold=0.15 --top_k=15 --image=test.jpg --config=yolact_base_config

Traceback(most recent call last): File "eval.py",line 1105,in evaluate(net,dataset) File "eval.py",line 881,in evaluate evalimage(net,args.image) File "eval.py",line 60,in evalimage img_numpy = prep display(preds, frame, None, None, undo transform=False) File "eval.py",line 151,in prep displayscore threshold = args.score threshold)File "/home/ubuntu/yolact/yolact-master/layers/output Snipaste_2024-04-09_14-52-07 utils.py", line 98, in postprocess boxes[:,1l,boxes[:,3]= sanitize coordinates(boxes[:,1], boxes[:, 3], h,cast=False) RuntimeError: nvrtc: error: invalid yalue for --gpu-architecture (-arch) nvrtc compilation failed:

cxychen-hub avatar Apr 09 '24 06:04 cxychen-hub

Have you solved this problem yet? I'm having this problem too!

haomw01 avatar Jun 28 '24 01:06 haomw01