Coder Social home page Coder Social logo

Comments (10)

dgbarclay avatar dgbarclay commented on June 25, 2024

Likewise, trying to find a fix now.

My process keeps getting killed, even when running with 25GB RAM on Google Colab.

from generative_mlzsl.

dgbarclay avatar dgbarclay commented on June 25, 2024

@hugh920 could you let me know if you find a fix in the meantime 👍

from generative_mlzsl.

hugh920 avatar hugh920 commented on June 25, 2024

@dgbarclay When you train, does your memory increase with each epoch?How many epochs have you reached so far?

from generative_mlzsl.

dgbarclay avatar dgbarclay commented on June 25, 2024

@hugh920 Mine is being killed whilst parsing the data, it doesn't reach the beginning of training. It seems to fall within the block on line 203 of util.py. Are you able to begin training? Have you modified the code?

from generative_mlzsl.

hugh920 avatar hugh920 commented on June 25, 2024

@dgbarclay Mine can be trained without modifying the code. However, due to increased memory, it failed in the second round. I modified batch_size and made the model structure a little simpler so that he could continue to run. I noticed that the memory increased during the first two training rounds and stabilized after the third. I don't understand why.

from generative_mlzsl.

dgbarclay avatar dgbarclay commented on June 25, 2024

@hugh920 okay, I have not yet made it that far. I was running out of memory during forming the DataLoader so I'm having to refactor a little bit. Are you able to push your version so I can compare the two? It would help me out loads, cheers.

from generative_mlzsl.

dgbarclay avatar dgbarclay commented on June 25, 2024

@hugh920 are you able to run eval_nus_wide.sh without failure? I ultimately just need to be able to run this model to take image queries and give predictions, are you able to get the model in that state?

from generative_mlzsl.

hugh920 avatar hugh920 commented on June 25, 2024

@dgbarclay I took the ALF out and just used FLF, which didn't work well. It may not be what you need.

from generative_mlzsl.

hugh920 avatar hugh920 commented on June 25, 2024

@dgbarclay I also had a problem with processes being killed while loading data on other projects today. I have observed that the GPU is not utilized when loading data. It is a dataloader made by CPU, probably because the processing power of CPU is not up to it.It has nothing to do with memory size or GPU.

from generative_mlzsl.

akshitac8 avatar akshitac8 commented on June 25, 2024

Is the issue solved?

from generative_mlzsl.

Related Issues (16)

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.