Giter Club home page Giter Club logo

Comments (5)

youngjung avatar youngjung commented on May 24, 2024 1

I don't have a clue from your message but my guess is lack of shared memory.

Could you try with smaller val_batch_size?
--val_batch_size 4

Or, you can try other ways to save the video, for example, imageio.mimsave()

from stargan-v2.

rishsriv avatar rishsriv commented on May 24, 2024 1

@edmar I had faced the same issue earlier with a 16GB RAM machine. The process is killed because video creation is fairly memory intensive. If you just want to let the model run and see how images are transformed (without creating a video), simply comment out lines 187 to 189 in /core/solver.py

from stargan-v2.

edmar avatar edmar commented on May 24, 2024

I upgrade the machine to check if it was a memory problem. Now I am running on:

          total        used        free      shared  buff/cache   available

Mem: 62G 340M 60G 860K 881M 61G
Swap: 0B 0B 0B

But it didn't work. Using the --val_batch_size 4 now I can see the video being generated.
However, it only generates the female video. Is this the correct behavior?

from stargan-v2.

lonestriker avatar lonestriker commented on May 24, 2024

I had the same error with the "Killed" as you did. I have a 64 GB Ubuntu Linux server and memory did not appear to be the problem. When I set val_batch_size to 4, 8 or 16, they all worked. At 4, I also only got 4 female faces. At 8, I got 5 and 3 female/male faces. 16 gives 6 and 5. So just specifying the option fixes the problem for me.

from stargan-v2.

lyh16 avatar lyh16 commented on May 24, 2024

Bump. I have the same problem as edmar except that I don't get killed. But I don't get the video anyways.

from stargan-v2.

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.