Coder Social home page Coder Social logo

CelebaA HQ 256 out of memory and NaN about nvae HOT 2 OPEN

nvlabs avatar nvlabs commented on September 28, 2024
CelebaA HQ 256 out of memory and NaN

from nvae.

Comments (2)

arash-vahdat avatar arash-vahdat commented on September 28, 2024

Sorry for the slow reply. Are you sure your PyTorch version is the same as the recommended version? I did see a bit of different behavior in OOM with different PyTorch's version. But I did try these commands in the recommended version before releasing the code.

If the NaN issue persists, you can reduce the learning rate a bit to 8e-3 (--learning_rate=8e-3). That may help with instability.

from nvae.

AlexZhurkevich avatar AlexZhurkevich commented on September 28, 2024

Thank for the reply!
Yes I am running torch and torchvision of the same numeric versions (1.6, 0.7), although you are probably using plain 1.6 and 0.7 correspondingly which equate to ones that were compiled with CUDA 11. I however use 1.6.0+cu101 and 0.7.0+cu101 that were compiled with CUDA 10.1, this might be a source of the problem, I am upgrading CUDA on the following Monday, will report if it fixed the issue and will try your suggested learning rate, maybe it'll fix the problem. If nothing helps, Ill get back to ask more questions. Thank you for your time!

from nvae.

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.