Comments (2)
@ardiya preprocessing is the same with torch:
- RGB
- mean / std normalization
you can find exact preprocessing here: https://github.com/szagoruyko/functional-zoo/blob/master/imagenet-validation.py#L69-L88
inputs.permute(0,2,3,1) is because input tensor is in NCHW in pytorch, and NHWC in tensorflow
from functional-zoo.
Ah, I see. Thank you very much
from functional-zoo.
Related Issues (16)
- Show how to use models for fine-tuning HOT 3
- Error in visualize code HOT 9
- Visualizer: Conv2d seems to terminate graph traversing
- Extract features from pre-trained model HOT 1
- visualize.make_dot does not work with pytorch v0.1.12 HOT 1
- Error reading a hdf5 file cpp_parser HOT 1
- get AttributeError: grad_fn when use make_dot HOT 1
- Where is file wide-resnet-50-2-export.hkl located ? HOT 1
- Issue with output torch Variable in visualize.py throwing an attribute error (grad_fn) HOT 3
- Runtime error in make_dot HOT 2
- Where is the wide-resnet-50-2-export.pth? HOT 1
- Preprocessing to use with pretrained weights HOT 1
- need torch in order to run "Tensorflow model definition"
- Pretrained model
- RuntimeError: Cannot open file. This file was likely created with Python 2 and an old hickle version.
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 functional-zoo.