Git Product home page Git Product logo

Comments (6)

xueyyao avatar xueyyao commented on June 8, 2024

I met the problem too, but I found that I did something wrong about my dataset. I believe you can check your data (especially label) first.

from dn-detr.

kike-0304 avatar kike-0304 commented on June 8, 2024

I met the problem too, but I found that I did something wrong about my dataset. I believe you can check your data (especially label) first.
I can use my data set normally in other methods, but only this method will have errors, which places have you modified when using your own data set?

from dn-detr.

FengLi-ust avatar FengLi-ust commented on June 8, 2024

You can transform your dataset to COCO format or write a new dataset class for your dataset.

from dn-detr.

youarefree123 avatar youarefree123 commented on June 8, 2024

You can transform your dataset to COCO format or write a new dataset class for your dataset.

Hi, I have recently tried to train other datasets (cityscapes) using for dn_dab_detr. The size of the training set is only 3000, we train the model on 4 Nvidia 3090 GPUs, batch size is 16 (4 images each GPU x 4 GPUs) , accordingly I adjusted the learning rate to 2e-4 (twice of the original), however, when training, I found that the model did not converge, so I changed back to 1e-4, the batch size is still 4, however, after 50 epochs, the result is not as good as baseline (Faster-RCNN), do I still need to try to modify other hyperparameters? Which hyperparameters will be modified to enable the model to work in the new dataset?

from dn-detr.

FengLi-ust avatar FengLi-ust commented on June 8, 2024

Hey, as our code and dataloader largely follows DETR and Deformable DETR. They have been widely adopted in many custom dataset. you can refer to their issues about how to train your own dataset. For example, in DETR github page, there are many issues about training on the custom dataset, like this.

For modifications to the code for your own dataset, there are also some suggestions, like this and this.

Hope these suggestions work for you.

from dn-detr.

youarefree123 avatar youarefree123 commented on June 8, 2024

Hey, as our code and dataloader largely follows DETR and Deformable DETR. They have been widely adopted in many custom dataset. you can refer to their issues about how to train your own dataset. For example, in DETR github page, there are many issues about training on the custom dataset, like this.

For modifications to the code for your own dataset, there are also some suggestions, like this and this.

Hope these suggestions work for you.

Thanks for the detailed reply which helped me a lot.

from dn-detr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.