megvii-research / FSCE

Apache License 2.0
274 stars 47 forks source link

Code for visualization #32

Open ZiyeHu opened 3 years ago

ZiyeHu commented 3 years ago

Could you please provide the visualization code of the paper? Thank you very much!

alphacyp commented 2 years ago

Have you solved this problem?After I change the weight path in the config file to the path of the trained model, it can run. python demo/demo.py --config-file configs/PASCAL_VOC/base-training/R101_FPN_base_training_split1.yml \--input input1.jpg But I just tested it here in base-training. In the fine-tune stage,I can't do the same thing.The content of the error report is AssertionError: get_event_storage() has to be called inside a 'with EventStorage(...)' context! Can we talk about this issue?

NeuroDong commented 2 years ago

Put storage = get_ eventstorage () in roi heads.py Change to: with EventStorage(): storage = get_event_storage()