Giter Site home page Giter Site logo

Comments (6)

YvanYin avatar YvanYin commented on June 3, 2024

Hi, if you do not want to do the validation during training, just remove the validation code in the train.py:

val_err[0] = val(val_dataloader, model)

Besides, you should change the 'parse_arg_val.py'.
--anno_phase='train'

from vnl_monocular_depth_prediction.

aufaclav avatar aufaclav commented on June 3, 2024

Thank you for your response. I finished the problem. thanks to you..

now i faced another problem with test.. i tried to test with pre-trained data
python ./tools/test_any_images.py
--dataroot ./
--dataset any
--cfg_file lib/configs/resnext101_32x4d_nyudv2_class
--load_ckpt model/nyu_rawdata.pth

i downloaded the pretrain data and give it into the created model folder. But the result is strange. When i open it, all images becomes grey and has 50000 value. i tried it with your images in example, and the result are the same. Is there something wrong with my procedure?

here is the example result
107_r-raw

from vnl_monocular_depth_prediction.

YvanYin avatar YvanYin commented on June 3, 2024

Sorry for late reply. Have you fixed this problem?

from vnl_monocular_depth_prediction.

aufaclav avatar aufaclav commented on June 3, 2024

Yes, i solved it already. Thank you..

but i have another problem,
i always out of Cuda memory while training. I am using GTX Titan X with 11 GB memory, it is obviously weird. i already try to reduce the batchsize and try the other batchsize, but it doesnt work. How i can solve this? where i need to change the parameter for this?

Also, can i ask another question?
i have a dataset with the same structure of train.mat.
i want to update/fine tune the nyu_rawdata.pth with my dataset.
Can i just load and train it with resume option?

from vnl_monocular_depth_prediction.

YvanYin avatar YvanYin commented on June 3, 2024

Hi, if out of memory, you can adjust the image size for training. Please see the config file under lib/core/config.py. You can adjust it to 256*256 or others.

Yes, you can. However, you should set the new learning rate for fine-tuning.

from vnl_monocular_depth_prediction.

rgbd-zml avatar rgbd-zml commented on June 3, 2024

Thank you for your response. I finished the problem. thanks to you..

now i faced another problem with test.. i tried to test with pre-trained data
python ./tools/test_any_images.py
--dataroot ./
--dataset any
--cfg_file lib/configs/resnext101_32x4d_nyudv2_class
--load_ckpt model/nyu_rawdata.pth

i downloaded the pretrain data and give it into the created model folder. But the result is strange. When i open it, all images becomes grey and has 50000 value. i tried it with your images in example, and the result are the same. Is there something wrong with my procedure?

here is the example result
107_r-raw

HI,aufaclav :
I have the same problem as you. When I use the model to predict the depth map of the picture, the results are all gray. How did you solve this problem? thank you
c71bfbd6-d5ce-4f66-a58a-035642290824

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.