AllenNeuralDynamics / aind-behavior-curriculum

Starter repository for behavior base primitives.
https://aind-behavior-curriculum.readthedocs.io
MIT License
1 stars 0 forks source link

Trainer registers subjects with Metric #36

Open mochic opened 3 months ago

mochic commented 3 months ago

Trainer currently initializes subjects with Metric when calling register_subject. Our starting policy for our curriculum operates on our own Metric subclass which forces us to include code that handles this edgecase in our initialization policy.

mochic commented 3 months ago

This might not be necessary if we calculate metrics at trainer evaluation time (pulling from slims). I also kinda only encounter this problem due to my current implementation but after switching to the implementation @dyf mentioned, this will probably not be an issue for me.