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

是否支持多线程同时记录几个训练过程? #39

Open
lhprojects opened this issue Nov 20, 2020 · 5 comments
Open

是否支持多线程同时记录几个训练过程? #39

lhprojects opened this issue Nov 20, 2020 · 5 comments

Comments

@lhprojects
Copy link

我的程序是多线程的,请问

我可以同时记录几个训练过程吗?
内部有锁吗?我可以在不同的线程log吗?

(PS:关键部分释放了gil所以没有性能问题,因为内存不够所以我想不同超参数的训练可以共享内存,多线程共享内存比较方便。)

@yhcc
Copy link
Member

yhcc commented Nov 20, 2020

不支持~

@lhprojects
Copy link
Author

依然谢谢!

@BebDong
Copy link

BebDong commented Jan 14, 2021

@yhcc 你好,请问非多线程情况下可以记录多个训练过程吗?这些训练过程是串行的,比如同样的超参数下希望实验跑3次,这3次实验是依次先后进行的。

@yhcc
Copy link
Member

yhcc commented Jan 17, 2021

可以,可以通过fitlog.set_log_dir('logs/', new_log=True), 当第二次运行到这里的时候,fitlog就会重新创建一个新的log文件夹记录了。

@BebDong
Copy link

BebDong commented Jan 18, 2021

@yhcc 好的,感谢!这个工具很赞(๑•̀ㅂ•́)و✧

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

3 participants