Closed jbdel closed 10 months ago
Hello,
Issues can be resolved if Pytorch must be >=1.4 but <= 1.6 Author, could you please still refer to a config that would work well if we do not have bounding boxes.
I do not think the code can be used without bounding boxes or any kind of dense supervision targets. You may need to modify the detection heads for your purpose.
Hello,
Thank you for putting together the code.
1) I'm trying to train a model using
python tools/train_net.py --num-gpus 1 --config-file configs/FCSGG_HRNet_W32_2xDownRAF_512x512_MS.yaml
and get:
RuntimeError: The size of tensor a (7) must match the size of tensor b (8) at non-singleton dimension 1
Here is the trace:
2) Lets say I want to train on images completely different than VG, say medical images, where we dont have bounding boxes. Which config should I use ? I understand all models but the
FCSGG-Base.yaml
use pretrained models, such as RCNN and FPN pretrained on COCO.I tried using FCSGG-Base.yaml, but encounter the error:
Indeed for this config,
MODEL.HEADS.OUTPUT_STRIDES
is [4] So when going to this code:then self.size_range is indeed None.
What should I use to train with a model using only convolutions and no model pretrained on natural images ?
Thank you very much for your help