-
Notifications
You must be signed in to change notification settings - Fork 9
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
PSO+interface refactoring. #39
Conversation
* interface for data is refactored
* PSO optimizer bug fix, example and tutorial.
* TT+ZO * callbacks --------- Co-authored-by: aminevdam <aminew.dam@yandex.ru>
tedeous/callbacks/cache.py
Outdated
Union[None, dict, torch.Tensor]: best model with optimizator state. | ||
""" | ||
|
||
files = glob.glob(CacheUtils().cache_dir + '\*.tar') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Здесь пусть берётся из CacheUtils().cache_dir, но в классе Cache при инициализации есть параметр cache_dir. Сейчас нельзя прокинуть кастомный путь сюда. Хочу в этом же PR реализовать, чтобы кэш записывался в %TMPDIR%\tedeous_cache .
Подумайте, плез, как это исправить.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that we have done a good work with more to be done in future. As for now, we are good to go to main.
Main features:
-callbacks archtecture revamp - many user interface and backend changes for better understanding of the process
-yet more better than ever cache
-more optimizers
Interface refactoring + PSO optimization.