Open alphacyp opened 3 years ago
Or, who has tested the test results with a random picture after running all the models?Thanks!
Put storage = get_ eventstorage () in roi heads.py Change to: with EventStorage(): storage = get_event_storage()
Put storage = get_ eventstorage () in roi heads.py Change to: with EventStorage(): storage = get_event_storage()
Thank you very much!
Put storage = get_ eventstorage () in roi heads.py Change to: with EventStorage(): storage = get_event_storage()
Thank you very much!
I have tried this but occur another errpr, how to define EventStorage?
After running the model, I want to use the “demo/demo.py” to randomly input a picture for detection.
python demo/demo.py --config-file configs/PASCAL_VOC/base-training/R101_FPN_base_training_split1.yml \--input input1.jpg
Here I can normally detect the results and output a picture with the detection results.But,in the fine tune model,after I do thispython demo/demo.py --config-file configs/PASCAL_VOC/split1/10shot_CL_IoU.yml \--input input1.jpg
The content of the error report isAssertionError: get_event_storage() has to be called inside a 'with EventStorage(...)' context!
I appreciate anyone who can help me.