Models don't accept model_name, saving_path
See original GitHub issueDescribe the bug
Models don’t accept model_name
, saving_path
as initialization arguments.
What is the current behavior?
See above.
If the current behavior is a bug, please provide the steps to reproduce.
clf: TabNetClassifier = TabNetClassifier(saving_path="/home/user123/dev/", device_name="cpu")
Expected behavior
Models should accept model_name
, saving_path
as initialization arguments as specified in the documentation.
Screenshots
Other relevant information:
poetry version:
python version:
Operating System:
Additional tools:
Additional context
On a related note: How can models be persisted? The mentioned init parameters strongly suggest that it is possible, but I couldn’t find any information on this - either in the documentation nor in the code.
Issue Analytics
- State:
- Created 3 years ago
- Comments:23 (2 by maintainers)
Top Results From Across the Web
Saving h5 model by relative path - Keras tensorflow
How do we save a model to a relative file path using tensorflow embedded keras? model.save('/models/model.h5'). I tried: './models ...
Read more >Save and load Keras models | TensorFlow Core
When saving the model and its layers, the SavedModel format stores the class name, call function, losses, and weights (and the config, if ......
Read more >Model saving & serialization APIs - Keras
Saves the model to Tensorflow SavedModel or a single HDF5 file. Please see tf.keras.models.save_model or the Serialization and Saving guide for details.
Read more >Saving and Loading Models (Coding TensorFlow) - YouTube
Training models can take a very long time, and you definitely don't want to have to retrain everything over a single mishap.
Read more >Models - Django documentation
Each model is a Python class that subclasses django.db.models.Model . ... field names that conflict with the models API like clean , save...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Indeed, @Optimox , I have noticed that and I even probably have the change locally where I instantiate the network on class
__init__()
. I think it is better that way. I’m willing to work on this and I can also fix themodel_name
/saving_path
on the way, It should be simple.@DoDzilla-ai
Hello, well you are actually looking at the develop branch README (maybe we should find a way of defaulting the master branch) so
mask_type
is actually a new feature and not a deprecated one, but you if you installed the code from pip the you are using the master branch code which does not acceptmask_type
.The same thing is happening with
lr
, we changed this recently in order to give more flexibility to final users.The development branch always have some advanced features that the master branch does not get, they will match at the next release in the coming weeks. In the meantime please refer to the the master branch readme in order to get the current documentation.