You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update request for model configuration guide
When looking at the items in the ini file generated after saving the model, there are many things that are not mentioned in the official documentation.
For example, among the following contents, only type, epochs, loss, save_path, and batch_size have descriptions, but the rest do not.
Guide and examples for using loss layers
When loading a model, I received a log message like this:
[NNTRAINER WARN 2024-12-11 14:29:44] (/home/-----/nntrainer/nntrainer/models/model_common_properties.cpp:isValid:22) Model loss property is deprecated, use loss layer directly instead
It would be helpful to have some examples on how to use loss layers.
When saving a model as an ini file, the loss_scale value was 0, and the following error occurred when loading it:
Error while loading model! details: invalid argument from c style throw
log:
[NNTRAINER ERROR 2024-12-11 15:50:30] (/home/kimhyeongjun/tizen/github/workspace2/nntrainer/nntrainer/models/model_common_properties.cpp:isValid:48) Loss scale cannot be 0
[NNTRAINER ERROR 2024-12-11 15:50:30] (/home/kimhyeongjun/tizen/github/workspace2/nntrainer/nntrainer/models/model_loader.cpp:loadModelConfigIni:131) St16invalid_argument argument is not valid
The text was updated successfully, but these errors were encountered:
Hello, @kim-com
Thank you for your concern about NNTrainer project 😊
NNTrainer has been actively updated, and the very recent features (e.g., memory swap and loss scaling) are not yet updated in the documentation. We will update them soon.
About the issues, we're going to investigate it. Thank you.
We tested saving model with ini format and loading it with the latest nntrainer (3ac9404); we verified that it doesn't report any issue you mentioned. It seems the issue was resolved. (Thanks for testing the issue, @DonghakPark )
Please let us know if you have further issues.
About updating documentation, you suggested, we will update it ASAP. Thank you for actively using NNTrainer ✨
When looking at the items in the ini file generated after saving the model, there are many things that are not mentioned in the official documentation.
For example, among the following contents, only
type
,epochs
,loss
,save_path
, andbatch_size
have descriptions, but the rest do not.When loading a model, I received a log message like this:
It would be helpful to have some examples on how to use loss layers.
code:
bash:
log:
The text was updated successfully, but these errors were encountered: