Skip to content
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

How to get evaulation metrics from visualize.py #273

Open
LTT-5 opened this issue Dec 16, 2024 · 1 comment
Open

How to get evaulation metrics from visualize.py #273

LTT-5 opened this issue Dec 16, 2024 · 1 comment

Comments

@LTT-5
Copy link

LTT-5 commented Dec 16, 2024

Hello, thanks again for your excellent work!

I want to calculate evaluation metrics such as mAP and IoU for the test dataset (made by myself, similar to FoggyCityscapes) using visualize.py. How should I updated visualize.py code?

Hope to receive your feedback.

@LTT-5
Copy link
Author

LTT-5 commented Dec 18, 2024

Hello,

I also have a new problem. When training with d_adapt.py, I encountered this error:
oserror: [WinError 1455] The page file is too small to complete the operation. Error loading “E:\miniconda3\envs\mmyolo\lib\site-packages\torch\lib\caffe2_detectron_ops_gpu.dll” or one of its dependencies.

The code I am running is:
python d_adapt.py --workers-c 1 --max-train-c 20 --ignored-scores-c 0.05 0.5 --confidence-ratio-c 0.1 --config-file d_adapt/config/faster_rcnn_R_101_C4_cityscapes.yaml -s Cityscapes datasets_/cityscapes_in_voc -t FoggyCityscapes datasets_/foggy_cityscapes_in_voc/ --test FoggyCityscapesTest datasets_/foggy_cityscapes_in_voc/ --finetune --trade-off 0.5 --bbox-refine OUTPUT_DIR logs/faster_rcnn_R_101_C4/cityscapes2foggy/phase2 MODEL.WEIGHTS logs/faster_rcnn_R_101_C4/cityscapes2foggy/phase1/model_final.pth SEED 0

Can you tell me how I should correct this, or turn down the batch_size somewhere?

Hope to receive your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant