Comments (3)
Hi, are you looking at label_map
?
relabel_imagenet/utils/relabel_functions.py
Lines 15 to 27 in 6cd84df
For the first dim of label_map
,
label_map[0]
is a tensor for the prediction scores, and label_map[1]
is for the class indices as you saying.
The second dim indicates the top-k index because we only store the top-k label maps for storage efficiency.
from relabel_imagenet.
This is a sample image from the Imagenet and Relabel dataset. The dominant pixel value of label map is 769, and I would like to know the class name of the number. Is there any way of converting this?
from relabel_imagenet.
@SeungyounShin
You can use this JSON data.
https://gist.github.com/yrevar/942d3a0ac09ec9e5eb3a
769
is 'rule, ruler'
from relabel_imagenet.
Related Issues (13)
- Relabel data HOT 6
- Relabel maps generating code HOT 1
- Dataset Downloading HOT 4
- ImageNet of Validation HOT 3
- Crop Coordinate Calculation. HOT 1
- LabelPooling in 4.3 Multi-Label Classification HOT 1
- infer HOT 1
- Relabling on cutmix ? HOT 5
- About the optimizers and hyper-parameters HOT 3
- Reproduce resnet 18 + relabel HOT 5
- about dataset download HOT 2
- How to relabel imagenet? HOT 2
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 relabel_imagenet.