Code Monkey home page Code Monkey logo

Comments (7)

junyanz avatar junyanz commented on May 16, 2024

How much memory does your GPU have?

from cyclegan.

ankitkariryaa avatar ankitkariryaa commented on May 16, 2024

I am using GeForce GTX 1050ti Nvidia GPU, and it has 4037MiB memory.

from cyclegan.

junyanz avatar junyanz commented on May 16, 2024

It takes 3.2-3.9 GB to run the test code on my GTX 1080. You can resize input images to 256x256 and see if you can run the models.

from cyclegan.

sarsiz avatar sarsiz commented on May 16, 2024

I am new to this and trying to set it up to run on my system. Can I run it on 920MX Nvidea?
Sys. RAM : 12 GB

from cyclegan.

winwinJJiang avatar winwinJJiang commented on May 16, 2024

from cyclegan.

reinvantveer avatar reinvantveer commented on May 16, 2024

@ankitkariryaa I also experience out of memory errors, though at a very specific point (on a custom data set):

Epoch: [5][     652 /     1087]	 Time: 1.127  DataTime: 0.001  [A] G: 0.6206  D: 0.0382  Rec: 1.3148 I: -1.0000 || [B] G: 0.9072 D: 0.1196 Rec: 1.7579 I:-1.0000
saving the latest model (epoch 5, iters 5000)	
THCudaCheck FAIL file=/home/rein/torch/extra/cutorch/lib/THC/generic/THCStorage.cu line=66 error=2 : out of memory
/home/rein/torch/install/bin/luajit: /home/rein/torch/install/share/lua/5.1/nn/THNN.lua:110: cuda runtime error (2) : out of memory at /home/rein/torch/extra/cutorch/lib/THC/generic/THCStorage.cu:66
stack traceback:
	[C]: in function 'v'

(etc.)
On a GTX 1060

I.e. at the model saving point, as configured in
https://github.com/junyanz/CycleGAN/blob/master/options.lua#L31
At what point in time does the code throw OOMs?

from cyclegan.

ankitkariryaa avatar ankitkariryaa commented on May 16, 2024

@reinvantveer I too experienced it only after some time, sorry I don't have the exact epoch number.

from cyclegan.

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.