-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
could you help me this problem? #21
Comments
Can you please share more information about your process, e.g., the log file? which stage are you in? |
in the first stage , and when testing the few shot.
发自我的iPhone
…------------------ Original ------------------
From: Guangxing Han ***@***.***>
Date: Fri,Dec 9,2022 4:21 AM
To: GuangxingHan/Meta-Faster-R-CNN ***@***.***>
Cc: Sam ***@***.***>, Author ***@***.***>
Subject: Re: [GuangxingHan/Meta-Faster-R-CNN] could you help me this problem?(Issue #21)
Can you please share more information about your process, e.g., the log file? which stage are you in?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Can you please share with me your training log to see what happened there? Thanks. |
[12/08 17:53:30] d2.data.datasets.coco INFO: Loading datasets/coco/annotations/instances_val2014.json takes 4.73 seconds.
File "/data/anaconda3/envs/FCT_cu110/lib/python3.7/site-packages/detectron2/engine/train_loop.py", line 165, in after_step |
Thanks. But it is hard to see anything here. Have you modified the config file or the related source codes? Also, could you also print the shape/value of scores, cls_num, box_num to manually check the logic of the codes? |
i modify cls_num = pred_cls.shape[0]#pred_cls.unique().shape[0] in fsod_fast_rcnn.py file line 108 ,and it can work. |
File "/data/sam/Meta-Faster-R-CNN-main/meta_faster_rcnn/modeling/fsod/fsod_fast_rcnn.py", line 112, in fsod_fast_rcnn_inference_single_image
scores = scores.reshape(cls_num, box_num).permute(1, 0)
RuntimeError: shape '[20, 645]' is invalid for input of size 12912
The text was updated successfully, but these errors were encountered: