aim-uofa / AdelaiDet

AdelaiDet is an open source toolbox for multiple instance-level detection and recognition tasks.
https://git.io/AdelaiDet
Other
3.38k stars 648 forks source link

Condinst trains 1080 x 1920 and 480 x 640 images #225

Open cty-xiaobai opened 4 years ago

cty-xiaobai commented 4 years ago

The Condinst training set is 1080 x 1920 and 480 x 640 images, and verified on the 1080 x 1920 data set

the following error appeared AssertionError: ResizeShortestEdge(short_edge_length=(640, 672, 704, 736, 768, 800), max_size=1333, sample_style='choice')

So, I rewrote the mapper method so that although it can be trained, the results of the training will be worse (continue training on the basis of CondInst_R_101_BiFPN_3x_sem.pth) 1

This is the log file: log.txt

How should I modify the code to make my finetuning result better, not worse. Thank you for your help!

tianzhi0549 commented 4 years ago

@cty-xiaobai Could you post the screenshot when AssertionError happens?

cty-xiaobai commented 4 years ago

@cty-xiaobai Could you post the screenshot when AssertionError happens?

@tianzhi0549 sure capture_20201028162622951 capture_20201028162640581 capture_20201028162657713

cty-xiaobai commented 4 years ago

@cty-xiaobai Could you post the screenshot when AssertionError happens?

@tianzhi0549 Sorry to disturb you, do you have a good solution to my problem? thank you very much!

tianzhi0549 commented 4 years ago

@cty-xiaobai Hi, I guess this error might be because you are using a wrong detectron2 version. Please try to use the detectron2 with commit id 9eb4831.

cty-xiaobai commented 4 years ago

@cty-xiaobai Hi, I guess this error might be because you are using a wrong detectron2 version. Please try to use the detectron2 with commit id 9eb4831.

Ok i will try it, thanks again

cty-xiaobai commented 3 years ago

@tianzhi0549 Can you provide a correct version of detectron2? I still have problems with the latest version, thank you!

cty-xiaobai commented 3 years ago

@tianzhi0549 Can you provide a correct version of detectron2? I still have problems with the latest version, thank you!

@tianzhi0549 I have found the corresponding version, sorry to disturb you