Visualising the last layer feature map with tSNE #509
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Hi @akashtadwai! Adding a metric to visualize feature maps is something we definitely would like to integrate in the near future. I suggest to go through the From Zero to Hero tutorial to see how you can add custom metrics. As for your request, you can access the dataset of each experience at any time with The final model at the end of the training can be recovered with Let me know if you need further assistance! :) |
Beta Was this translation helpful? Give feedback.
-
You are correct @EdenBelouadah, if you have direct access to |
Beta Was this translation helpful? Give feedback.
Hi @akashtadwai! Adding a metric to visualize feature maps is something we definitely would like to integrate in the near future. I suggest to go through the From Zero to Hero tutorial to see how you can add custom metrics.
As for your request, you can access the dataset of each experience at any time with
test_stream[idx_exp].dataset
and you can extract targets iterating trough it with a data loader or by accessing the targets field:test_stream[idx_exp].dataset.targets
directly.The final model at the end of the training can be recovered with
model = cl_strategy.model
.Let me know if you need further assistance! :)