Comments (3)
@ucas010 这个就是预训练图像分类模型里做的预处理操作。
我直接用的预训练好的模型,所以follow这个预训练好的模型需要的预处理操作。
当然在i/vqa问题中,不做预处理操作也许更合适,但是这样需要自己预训练一个不需要预处理操作的图像分类模型。
from vsfa.
@lidq92
多谢。
我对torch不太熟,但我发现tf训练的模型似乎都没有这个操作啊
from vsfa.
@ucas010
早期的Caffe有减均值图像的做法,PyTorch的torchvision里提供的图像分类模型是有我代码里那个预处理操作的,可以看torchvision/models.html#classification。
至于TensorFlow,你可以自己再好好看看相关资料,以实际训练的时候的操作为准。比如我粗略搜了一下,你可以看看这两个文件preprocessing.py和imagenet_preprocessing.py。
我不使用TensorFlow,所以关于TensorFlow的具体细节你可以自己再深入看看。
祝好。
from vsfa.
Related Issues (20)
- 跨数据库测试 HOT 3
- hyper-parameters & motion-related features HOT 5
- 时间记忆效应参数选择 HOT 1
- VSFA's Performance comparision with VIIDEO HOT 2
- Pretrained Weights HOT 6
- Question about V-BLIINDS&NIQE HOT 2
- Loss Function! HOT 2
- The question about GRU setting HOT 1
- Question about CORNIA HOT 1
- How to download LIVE-VQC? Is there baidu disk link ? Thanks for a help HOT 10
- Performance on LIVE-VQC HOT 6
- How to get the data/KoNViD-1kinfo.mat? HOT 1
- 有关 Content-Aware Feature Extraction部分的spatial global average pooling operation的问题 HOT 2
- 请问数据读取是否有问题呢? HOT 1
- [Qustion] On the training the CNN networks HOT 2
- [Qustion] Overfitting problem HOT 4
- Is it possible to share VBLIINDS features for live qualcomm and konvid-1k? HOT 1
- 请问KoNViD-1k数据集没有指定的验证集嘛 HOT 1
- Results in MSU Video Quality Metrics Benchmark
- 视频文件读取问题 HOT 1
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 vsfa.