Your code should have worked, i.e. you should see the 'model.h5' in the artifacts tab. What do you have there?
It should look something like this one:
https://demoapp.trains.allegro.ai/projects/531785e122644ca5b85b2e19b0321def/experiments/e185cf31b2634e95abc7f9fbdef60e0f/artifacts/output-model
BTW:
To manually register any model:
from trains import Task, OutputModel task = Task.init('examples', 'my model') OutputModel().update_weights('my_best_model.h5')
so I didn't have much time to upgrade all the packs because I have some issues with that but it is on my todo list
No worries 🙂
Quick question, if you run https://github.com/allegroai/trains/blob/master/examples/frameworks/keras/legacy/keras_tensorboard.py
Do you see models in the artifacts tab?
PlainSquid19 I will also look into it as well.
maybe for some reason model.keras_model.save_weights
is not caught ...
AgitatedDove14 In my train I see under this section " NO ARTIFACTS RECORDED"
i use Keras, "model.keras_model.save_weights(os.path.join(output_directory, 'model.h5'))" i want to see the results in trains... how do I do it? (I can see it saves the model in my dir but I can't see it on trains)
yes, I can see the model for his training in the web
Interesting... the code looks similar... i really don't know why it didn't showed the models in my trainings... I will try to add it manually for now
so I didn't have much time to upgrade all the packs because I have some issues with that but it is on my todo list
Are you doing from keras import ...
or from tensorflow.keras import
?
TF 1.15 (yes I know... i work on an old model of maskrcnn)
Hi PlainSquid19
Any model stored by TF/Keras/PyTorch/Joblib will automatically appear in the artifact/models tab.
Are you asking on how to add one manually ?
but I belive it should have work with 0.14.1 as well
but I belive it should have work with 0.14.1 as well
Correct
(This code sample should work on your setup with your installed packages without a problem)