Coder Social home page Coder Social logo

Comments (6)

WongKinYiu avatar WongKinYiu commented on May 14, 2024

what is your pytorch version?
it seems your pytorch version is too old.

from scaledyolov4.

huangruofei avatar huangruofei commented on May 14, 2024

Have you solved this problem? I have the same problem

from scaledyolov4.

huangruofei avatar huangruofei commented on May 14, 2024

@weqvr

from scaledyolov4.

Code-keys avatar Code-keys commented on May 14, 2024

1、update your torch to 1.6+
2、return to use apex : "from apex import amp" and modify the code related.

from scaledyolov4.

weqvr avatar weqvr commented on May 14, 2024

i solve this problem by installing torch=1.7.0

from scaledyolov4.

laygond avatar laygond commented on May 14, 2024

Yes, this model makes use of torch.cuda.amp which is available after pytorch v1.5; however, each pytorch version is built based on a CUDA version. For example, the maximum corresponding pytorch version for cuda 10.1 is pytorch 1.7.1 and therefore within the correct parameters (cuda 10.0 has a maximum pytorch version of 1.2). Also, this model architecture makes use of a manually installed mish-activation-function. Newer versions of Pytorch v1.9+ include built-in mish but you will have to change WongKinYiu's code (plus upgrade your cuda to 10.2+).

from scaledyolov4.

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.