Giter VIP home page Giter VIP logo

Comments (3)

fdujay avatar fdujay commented on September 1, 2024 3

I have met the other error:
v = obj.cuda(dev, async=True)
^
SyntaxError: invalid syntax

Solving it by exchanging "async" by "non_blocking", because 'async' is a reserved word in Python >= 3.7

from emanet.

XiaLiPKU avatar XiaLiPKU commented on September 1, 2024

(base) davis@davis-MS-7B17:~/Network/EMANet-master$ python train.py
2019-08-31 13:50:14,703 - INFO - set log dir as ./logdir
2019-08-31 13:50:14,703 - INFO - set model dir as ./models
2019-08-31 13:50:17,131 - ERROR - No checkpoint ./models/latest.pth!

The Training step is stopped, so I have to Keyboard Interrupt it...
Does anybody know how to solve it?

As the GPUs are loading model sequentially, you may need to wait for around 20s, and then the training process will start.

from emanet.

XiaLiPKU avatar XiaLiPKU commented on September 1, 2024

I have met the other error:
v = obj.cuda(dev, async=True)
^
SyntaxError: invalid syntax

Solving it by exchanging "async" by "non_blocking", because 'async' is a reserved word in Python >= 3.7

v = obj.cuda(dev, async=True) is not included in my repo, and I haven't seed similar problems.

from emanet.

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.