Giter Club home page Giter Club logo

Comments (5)

Ellenisawake avatar Ellenisawake commented on July 21, 2024

Similarly please share ImageNet model used as initialization!

No such file or directory: '/scratch2/model_weights/ssd300_12_imagenet.pth'

from visda-2018-public.

MInner avatar MInner commented on July 21, 2024

My bad. I believe it must be this one, and you convert it to proper format using this script. And I believe that the best file to start with would be this one

from visda-2018-public.

chrisliu54 avatar chrisliu54 commented on July 21, 2024

Same problem after following your instruction.
image

I suppose it could be caused by pytorch version mismatch. I run this script under pytorch=0.4 and I noticed your pytorch version is older(you are using Variable() API).
I suggest you provide us a requirements.txt or environment.yaml(for conda) to make thins clear.

from visda-2018-public.

MInner avatar MInner commented on July 21, 2024

That probably means that, for some reason, one of tensors turn contained nan or value outsize of propeor range, I guess? If you could share somehow what are vales of these tensors, which of them are suspicious and suggest how did they manage to get these values, I might try to guess why it might have happened. This code worked fine for me, I usually do not push broken code intentionally :)

from visda-2018-public.

chrisliu54 avatar chrisliu54 commented on July 21, 2024

When I turned into torchcv, most of the problems disappeared.
But the so called device-side assert triggered is caused by misconfiguration(the number of class of a model should be #foreground_classes + 1, which included the background as one class).

from visda-2018-public.

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.