GithubHelp home page GithubHelp logo

Comments (4)

dddzg avatar dddzg commented on May 28, 2024

Hi @ilem777 , it depends on what you are applying UP-DETR for.
If you are applying UP-DETR for object detection, it has the exact same inference time as DETR (28fps on V100 with standard COCO val2017 images). Checking more details about the inference time of DETR in facebookresearch/detr#110.

from up-detr.

zxsitu avatar zxsitu commented on May 28, 2024

@dddzg Thank you for your prompt response. Yes, I am using custom object detection dataset in COCO format, I have finished training the model and now I want to train the model, I will try your suggestion.

from up-detr.

dddzg avatar dddzg commented on May 28, 2024

Good luck!

from up-detr.

zxsitu avatar zxsitu commented on May 28, 2024

@dddzg Hello, how can I run the "computer_flops.py" file?
I changed PATH_TO_COCO in line 52 to my custom dataset path.
Then I run it, why does it automatically download a model to test it?
I think I should change lines 59~63
https://gist.github.com/fmassa/c0fbb9fe7bf53b533b5cc241f5c8234c#file-compute_flops-py-L59-L63

device = torch.device('cuda')
results = {}
for model_name in ['detr_resnet50']:
    model = torch.hub.load('facebookresearch/detr', model_name, pretrained=True)
    model.to(device)

How can I modify these lines to read my trained model? The path of my trained model is in "outputs/checkpint.pth". Thank you, this is really bothering me.

from up-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.