Giter Site home page Giter Site logo

Comments (9)

YvanYin avatar YvanYin commented on June 12, 2024

Hi, can you remove all the training codes part, just load the data in a loop to check if it can work?
For example:
for i, data in enumerate(train_dataloader): print(i)

from vnl_monocular_depth_prediction.

yyangmei avatar yyangmei commented on June 12, 2024

Thank you,I remove all training codes and it can work.
But it can't work with training codes.
I want to train my own model, what can I do to solve it?

from vnl_monocular_depth_prediction.

YvanYin avatar YvanYin commented on June 12, 2024

Hi, I have not faced this problem before.
What is your PyTorch version and CUDA version?
Where is the process stuck at?
Besides, our code will do the evaluation every 2000 iterations. Can you check if it is in the evaluation?

from vnl_monocular_depth_prediction.

yyangmei avatar yyangmei commented on June 12, 2024

I use ipdb to check the code and I find when start to train the secend epoch the code can't pass for i, data in enumerate(train_dataloader).
My pytorch version is 1.1.0 and CUDA version is 9.0.

from vnl_monocular_depth_prediction.

YvanYin avatar YvanYin commented on June 12, 2024

When you remove the network forward codes, is it can work?
Can for i, data in enumerate(train_dataloader) successfully run to the second epoch and successfully load the data?

from vnl_monocular_depth_prediction.

yyangmei avatar yyangmei commented on June 12, 2024

Yes, if I remove the forward codes it can work and load data successfully on the secend epoch.

from vnl_monocular_depth_prediction.

YvanYin avatar YvanYin commented on June 12, 2024

Hi, I think the problem maybe is the GPU memory. You can set a smaller batch size and monitor the GPU memory. You can see that without the forward codes it can smoothly load all data.

from vnl_monocular_depth_prediction.

yyangmei avatar yyangmei commented on June 12, 2024

Thank you so much!
I have solved the problem by reconfiguring the environment.

from vnl_monocular_depth_prediction.

tnaderi avatar tnaderi commented on June 12, 2024

Hi, Thank you for sharing your code. I have the same problem. It seems that it is able to train the model but when it is done with first epoch or get into evaluation it stop working just stay idle! I do not know how to fix this problem. Could you please help me in this regard, thank you

from vnl_monocular_depth_prediction.

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.