Giter VIP home page Giter VIP logo

Comments (4)

bryanyzhu avatar bryanyzhu commented on May 27, 2024

Hi, thanks for bringing up the issue. Actually I think it is because the pre-processing of optical flow images.

The default preprocessing of PyTorch for natural color images is:

clip_mean = [0.485, 0.456, 0.406] * args.new_length
clip_std = [0.229, 0.224, 0.225] * args.new_length

But for optical flow, I haven't found an effective way to normalize it in order to use the pre-trained models. Currently, i use 0.5 because most people use 0.5 for gray scale images. But it doesn't work.

I will debug into it later. Or you can make progress on this issue. Thanks.

from two-stream-pytorch.

yjzhux avatar yjzhux commented on May 27, 2024

@bryanyzhu Oh, I just saw your reply. Sorry about this.
I tried different mean and std values, but it didn't help. Do you make any progress?
Can you share your results (spatial and temporal) of this code on UCF101?

from two-stream-pytorch.

bryanyzhu avatar bryanyzhu commented on May 27, 2024

@yanjunzhu Hi, i just updated the codebase and report the accuracy on both spatial and temporal model on UCF101. Hopefully you can train your flow models now. But as I mentioned in README, my flow model's accuracy is still 5% lower than it reported in the paper. So maybe there still exist some subtle problems. Welcome any comments and pull request. Thank you.

from two-stream-pytorch.

yjzhux avatar yjzhux commented on May 27, 2024

@bryanyzhu Thanks. I will have a try later.

from two-stream-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.