Git Product home page Git Product logo

Comments (4)

Quasimondo avatar Quasimondo commented on May 13, 2024 1

Ah - I also have two GPUs on my machine, so there might be a pattern. Since I have resorted to adding
CUDA_VISIBLE_DEVICES=0 or CUDA_VISIBLE_DEVICES=1 at the beginning of the th train.lua line to force pix2pix training a model on a single GPU I have not seen that error anymore.

from pix2pix.

Quasimondo avatar Quasimondo commented on May 13, 2024

I can confirm that I occasionally get the same "Creating MTGP constants failed" error.

from pix2pix.

VasanthBalakrishnan avatar VasanthBalakrishnan commented on May 13, 2024

I got the same error. I had access to two GPUs. It continued training again (loading from the latest checkpoint) when I switched the gpu using the gpu=gpu-no option.
Not sure about the cause of the error but the original GPU was working fine on other tasks and had enough memory available.

from pix2pix.

venkateshmalgireddy avatar venkateshmalgireddy commented on May 13, 2024

I can confirm that both the above workarounds removed the error and continued training again in my case.
Not sure if I should close this discussion, since original problem is not solved.

from pix2pix.

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.