FSOD-code icon indicating copy to clipboard operation
FSOD-code copied to clipboard

How to test?

Open wlh0517 opened this issue 4 years ago • 6 comments

When I run 'all.sh' to test, there is a question. ''' support annotation number: 14862 INFO test_engine.py: 536: loading checkpoint Outputs/SAVE_DIR/ckpt/model_step479999.pth Killed ''' The code is killed. image

wlh0517 avatar Jun 04 '20 02:06 wlh0517

What's your all.sh? The old all.sh has a small bug.

fanq15 avatar Jun 07 '20 11:06 fanq15

What's your all.sh? The old all.sh has a small bug.

CUDA_VISIBLE_DEVICES=0 python3 tools/train_net_step.py --save_dir SAVE_DIR --dataset fsod --cfg configs/fsod/voc_e2e_faster_rcnn_R-50-C4_1x_old_1.yaml --bs 1 --iter_size 1 --nw 1 --load_detectron data/pretrained_model/model_final.pkl

CUDA_VISIBLE_DEVICES=0 python3 tools/test_net.py --dataset fsod --cfg configs/fsod/voc_e2e_faster_rcnn_R-50-C4_1x_old_1.yaml --load_ckpt Outputs/SAVE_DIR/ckpt/model_step479999.pth

Because I only have one GPU, so I set the default of '--multi-gpu-testing' to False in 'test_net.py'. As the picture showing, load and then killed. When the code running, I use 'nvidia-smi' and find that it only uses 573MB memory of GPU. When the code running, I use 'top' and find memory is OK.

wlh0517 avatar Jun 07 '20 14:06 wlh0517

I updated the code, you can try the new code for your testing.

fanq15 avatar Jun 08 '20 07:06 fanq15

I updated the code, you can try the new code for your testing.

I try new code and get the same result. o(╥﹏╥)o

wlh0517 avatar Jun 09 '20 07:06 wlh0517

@wlh156423 Could you share me your trained model? Thanks.

fhong-jpg avatar Oct 19 '20 01:10 fhong-jpg

I updated the code, you can try the new code for your testing.

I try new code and get the same result. o(╥﹏╥)o

Hi,I have met the same problem with you , did you solve it ? Thank you very much.

gmkproofing avatar Nov 02 '21 03:11 gmkproofing