nodefluxio / vortex

A Deep Learning Model Development Framework for Computer Vision
27 stars 6 forks source link

Fix scheduler step bug #59

Closed alphinside closed 4 years ago

alphinside commented 4 years ago

Type of changes

Please check the type of change your PR introduces: - [x] Bugfix - [ ] Feature - [ ] Code style update (formatting, renaming) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [x] Documentation content changes - [ ] Other (please describe): ## What is the current behavior? Currently all scheduler step update is batch update, this caused several scheduler have unintended result - close #58 ## What is the new behavior?

Checklist

alphinside commented 4 years ago

Is there no support for ReduceLROnPlateau scheduler? I guess it is because it required validation metrics, but it could be more useful in my opinion compared to other type of scheduler.

Yes correct, I also think it will be useful, but it's implementation is not well fitted into our desgin because scheduler is tightly coupled to trainer whereas validation is in the training pipeline, though it is possible to add 'on_validation_update' type, and add it to training pipeline. And also we dont have validation loss calculation mechanism

triwahyuu commented 4 years ago

so, add TODO feature then?

alphinside commented 4 years ago

so, add TODO feature then?

yes this issue #60

triwahyuu commented 4 years ago

okay then, after that it would be possible to support this scheduler then?

alphinside commented 4 years ago

okay then, after that it would be possible to support this scheduler then?

yes possibly, though wont solve the design problem

triwahyuu commented 4 years ago

okay then