Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plot to show the training and validation processes #3

Open
quangchien99 opened this issue Jan 11, 2021 · 6 comments
Open

The plot to show the training and validation processes #3

quangchien99 opened this issue Jan 11, 2021 · 6 comments

Comments

@quangchien99
Copy link

Can you show me the code the visualize the result after training like the loss, val_loss or accuracy?

@ptran1203
Copy link
Owner

Hi, currently the code for loss curve visualization is unavailable. The metric for this problem is mAP but I did not implement it yet.

For loss curve visualization you can check the following:

H = model.fit(...)
loss_values = H.history["loss"]
plt.plot(epochs, loss_values, label='Training Loss')
plt.xlabel('Epochs')
plt.ylabel('Loss')
plt.legend()

@quangchien99
Copy link
Author

So how do i get the accuracy value plot?

@ptran1203
Copy link
Owner

ptran1203 commented Jan 11, 2021

As I mentioned above, object detection problem is usually evaluated by mAP metric not accuracy, I will try to implement it in keras

@quangchien99
Copy link
Author

Thank u, however, i run your code in google colab, when training - the loss is so high - in epochs 1 is 1.7 , and epochs 30 is 0,7.
Is it ok?

@ptran1203
Copy link
Owner

If the loss is reducing when training, it's ok. You can try to train more epochs or increase the learning rate, eg. 1e-3

@quangchien99
Copy link
Author

Oke thank u so muchhhh. You're amazing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants