Comments (4)
@murthy95 Sorry for the long delay, I was busy with another projects the last 2 weeks. Anyway, I merged your PR and it's now live on the website! 🥳
Just adapted the fields in the sidebar a bit. Closing this for now but let me know if you have more thoughts. Thanks again for contributing! ❤️
from traingenerator.
Hey @murthy95, yes that would be great! I actually had this on my list but seems like I forgot to add it in the first version. For the pytorch template, that's fairly easy, you can just pass the number to the torchvision model, e.g. torchvision.models.alexnet(num_classes=10)
. For sklearn, I think it's impossible to set it manually, unfortunately (because it just infers the number of classes from the data), but if you find an option, let me know!
Some more thoughts:
- probably best to add a parameter in the sidebar below the "Use pre-trained model" checkbox:
- default value should be 1000 (as that's what torchvision uses)
- if pre-trained is True, this needs to be fixed at 1000
- in the code, this should be added as a hyperparameter below here:
Long-term it would also be great to infer this value automatically from the input data but for now manually setting it should be enough.
from traingenerator.
@jrieke True for pytorch models its fairly easy but if we want to support pretrained imagenet weights for transfer learning we need to load weights and then change the final fc layer. At least this what I did in my PR if there is some better way please point it out.
from traingenerator.
@murthy95 Good point, didn't think about that. Just had a brief look through your PR (#6), looks good so far. I'll try it out during the next days (bit busy right now) and get back.
from traingenerator.
Related Issues (10)
- Add Aim integration to traingenerator HOT 8
- New Template:Text Classification in TF HOT 1
- New Template: Semantic Segmentation; Generative Adversarial Networks; Image Caption; Style Transfer; HOT 2
- Add mlflow tracking HOT 1
- New Feature: Semantic Segmentation HOT 3
- Websocket connection failing HOT 6
- New template: Text Classification in scikit-learn [WIP] HOT 2
- New template: Image classification with Keras/Tensorflow HOT 1
- tabular regression and classification HOT 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 traingenerator.