GithubHelp home page GithubHelp logo

Comments (8)

fitsumreda avatar fitsumreda commented on August 19, 2024 1

The Flownet2 paper actually recommends to train the networks one at a time, starting with FlowNetC, then fix this, and train FlowNetS1 and so on.
training flownet2 directly on flying-chairs would lead to the type of epe explosion you're getting.

from flownet2-pytorch.

fitsumreda avatar fitsumreda commented on August 19, 2024 1

Could you run this command that runs flownetc, and see if you get the same error?
python main.py --batch_size 8 --model FlowNet2C --optimizer=Adam --optimizer_lr=1e-4 --loss=MultiScale --loss_norm=L1
--loss_numScales=5 --loss_startScale=4 --optimizer_lr=1e-4 --crop_size 384 512
--training_dataset FlyingChairs --training_dataset_root /path/to/flying-chairs/dataset
--validation_dataset MpiSintelClean --validation_dataset_root /path/to/mpi-sintel/clean/dataset

from flownet2-pytorch.

PkuRainBow avatar PkuRainBow commented on August 19, 2024

@fitsumreda But I just try to train the FlowNetC on FlyingChairs directly, I meet other problems. Could you help me?

image

from flownet2-pytorch.

PkuRainBow avatar PkuRainBow commented on August 19, 2024

It works! I am wondering whether you could provide more details, such as the well trained models by yourself.

from flownet2-pytorch.

dvorak0 avatar dvorak0 commented on August 19, 2024

@PkuRainBow @fitsumreda Did you get converged result with the mentioned training parameters?

Using python main.py --batch_size 8 --model FlowNet2C --optimizer=Adam --optimizer_lr=1e-4 --loss=MultiScale --loss_norm=L1 \ --validation_frequency 1 \ --loss_numScales=5 --loss_startScale=4 --optimizer_lr=1e-4 --crop_size 384 512 \ --training_dataset FlyingChairs --training_dataset_root /root/per_nas/FlyingChairs_release/data \ --validation_dataset MpiSintelClean --validation_dataset_root /root/MPI-Sintel-complete/training after 1 epoch (~3 hr in my machine), my training loss curve still keeps jumping.

from flownet2-pytorch.

MatthewD1993 avatar MatthewD1993 commented on August 19, 2024

@dvorak0 Do you get good result on training FlowNet2C? My curve is also bumping seriously while training. Very grateful if you could share your experience. Thanks!

from flownet2-pytorch.

ericzw avatar ericzw commented on August 19, 2024

@PkuRainBow hi, have you trained flownet2 successfully by training part of flownet2 first? could you tell me how to freeze parameters?

from flownet2-pytorch.

Queenyy avatar Queenyy commented on August 19, 2024

@MatthewD1993 Hi, have you trained FlowNet2C successfully? My loss curve is also bumping while training. Thanks a lot.

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.