Comments (4)
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.
@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.
@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.
@bryanyzhu Thanks. I will have a try later.
from two-stream-pytorch.
Related Issues (20)
- About pre-trained Model HOT 2
- test video HOT 5
- Question about training the models together HOT 2
- Different running env? HOT 5
- Can you provide your results for loss and accuracy values of spatial and temporal training?
- The number of GPUs? HOT 1
- I use your restnet152 model parameters for testing, but in split_1 the accuracy is only 67.59%.
- Use the video input from the camera for action recognition HOT 7
- Problems about VideoSpatialPrediction.py HOT 2
- How is the two streams fused ? HOT 1
- What is the accuracy of UCF101?
- what's version of pytorch and cuda
- dense_flow 可不可以在windows安装 HOT 1
- 如果没有安装dense_flow,运行build_of.py文件,是不是不会运行出结果 HOT 1
- fusion two stream feature?
- a PROBLEM when using VGG as motion model
- 老师我想问下怎么late fusion呀 HOT 1
- 关于抽帧的图片存放路径 HOT 2
- video sampling rate in training two-stream network
- About parameter --new_length in training RGB videos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from two-stream-pytorch.