Comments (3)
@DianaZhongHua , thanks for reading our work! You did't misunderstand anything, the model class is still 1000 is because we only change the data file to the CNFOOD-241, the data file folder structure is the same as the imagenet, but only input 241 classes of data.
If you has some reproduced result, it is welcome to share with us!
from resvmamba.
Hi ChiSheng,
Thank you for your prompt response to my previous query about using the CNFOOD-241 dataset with the 1000-class model structure. I'm curious about the specifics of how the 241 classes are mapped to the model's 1000-class output layer.
Could you shed some light on how you handle the mapping during training and inference? Are there certain indices within the 1000 classes that are designated for CNFOOD-241, or do you apply any post-processing to filter out the predictions for the non-existing classes?
Any details you can provide would be greatly helpful for my understanding. Thank you!
from resvmamba.
Hi @DianaZhongHua , the reason that the class input in model is 1000 is because I use the original imagenet dataloader but input the CNFOOD241 data folder, and according to my understanding, although the input class is 1000, but the model weight still can train with the classes under the 1000 (like 241) still works fine. You can see the build.py
for detail:
Line 129 in 6acf302
I have re-run the code, and it worked fine in my environment on a 3080:
from resvmamba.
Related Issues (3)
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 resvmamba.