Code Monkey home page Code Monkey logo

Comments (7)

lliuz avatar lliuz commented on June 8, 2024

the model named with _ar means training with AR and with a basic pretrained model.
for example, pwclite_ar.tar is trained on Sintel training set with pwclite_raw.tar as the pretrained model(which is trained from scratch on raw videos and not used AR in the pre-training stage).

from arflow.

playerkk avatar playerkk commented on June 8, 2024

Thank you for the reply.

I tested Sintel's pwclite_ar.tar on the training set. The results look much worse than the numbers reported in Table 1 in the paper. If I understand correctly, pwclite_ar.tar is the one fine-tuned on the training set and should match the one used in Table 1. Did I miss something? Thank you.

from arflow.

lliuz avatar lliuz commented on June 8, 2024

Can you tell me what result did you get?
I run the command

python3 train.py -c configs/sintel_ft.json -m checkpoints/Sintel/pwclite_ar.tar -e

and get the results same as the paper

* Epoch 1 EPE_0: 2.79 EPE_1: 3.73

from arflow.

playerkk avatar playerkk commented on June 8, 2024

What I got are * Epoch 1 EPE_0: 4.20 EPE_1: 5.19.

I am using PyTorch 1.6.0. Not sure if this causes the difference.

from arflow.

lliuz avatar lliuz commented on June 8, 2024

Hi @playerkk,
I tested it in PyTorch 1.6 and found that the problem was caused by the default behavior of align_corners for grid_sample has changed to False since PyTorch 1.3.0.

Specify align_corners=True in utils/warp_utils.py and you will get the correct results.

from arflow.

playerkk avatar playerkk commented on June 8, 2024

After fixing the issue, I can reproduce the numbers. Thanks for the help.

from arflow.

RokiaAbdeen avatar RokiaAbdeen commented on June 8, 2024

I got these two numbers : 3.20 and 4.23 not the same as yours, when I tried to add align_corners=True I got this error
im1_recons = nn.functional.grid_sample(x, v_grid, mode=mode, padding_mode=pad,align_corners=True)
TypeError: grid_sample() got an unexpected keyword argument 'align_corners

from arflow.

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.