GithubHelp home page GithubHelp logo

multi-gpu training about flownet2-pytorch HOT 2 OPEN

LiliMeng avatar LiliMeng commented on August 19, 2024
multi-gpu training

from flownet2-pytorch.

Comments (2)

fitsumreda avatar fitsumreda commented on August 19, 2024

@LiliMeng could you give more details. what batch size was used, and which architecture did you try?

from flownet2-pytorch.

ericzw avatar ericzw commented on August 19, 2024

@fitsumreda I trained flownet2 model with 1 GPU. there is one mistake like the follow picture. but it runs in epoch 0. it go wrong when validated after trained in 1 epoch.
image

in other hands, when I run this command to trained with 4 GPU, it can't work.
python main.py --start_epoch 0 --total_epochs 10 --batch_size 8 --model FlowNet2 --loss=L1Loss --optimizer=Adam --optimizer_lr=1e-10 --number_workers 0 --number_gpus 4
--training_dataset MpiSintelFinal --training_dataset_root /var/storage/shared/pnrsy/sys/jobs/application_1531419344053_9844/flownet2_data/training
--validation_dataset MpiSintelClean --validation_dataset_root /var/storage/shared/pnrsy/sys/jobs/application_1531419344053_9844/flownet2_data/training --resume /var/storage/shared/pnrsy/sys/jobs/application_1531419344053_9844/flownet2_data/pre-trained_model/FlowNet2_checkpoint.pth

could you help me to solve this problem?

from flownet2-pytorch.

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.