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

WindowsError: [Error 32] : 'run_tp.py.log' #2

Open
Cute-abacus opened this issue Apr 22, 2022 · 1 comment
Open

WindowsError: [Error 32] : 'run_tp.py.log' #2

Cute-abacus opened this issue Apr 22, 2022 · 1 comment

Comments

@Cute-abacus
Copy link

作者你好~我已经按照您readme中的介绍install了AMF模块,并下载好数据集,在运行请run_rt.py和run_pt.py时遇到如下报错,请问这里的WinError是什么导致的呢?我能如何处理呢?
Traceback (most recent call last): File "<string>", line 1, in <module> File "D:\CodingSoftware\ANACONDA\envs\AMF\lib\multiprocessing\forking.py", line 380, in main prepare(preparation_data) File "D:\CodingSoftware\ANACONDA\envs\AMF\lib\multiprocessing\forking.py", line 510, in prepare '__parents_main__', file, path_name, etc File "D:\STUDY\Project\AMF\benchmarks\run_tp.py", line 39, in <module> utils.setConfig(para) # set configuration File "D:\STUDY\Project\AMF\benchmarks\commons\utils.py", line 30, in setConfig os.remove(config['logFile']) WindowsError: [Error 32] : 'run_tp.py.log'

@aimengda
Copy link

logging error when you write log to one file from multiple processes, so you need to update the logging to let it support multiprocessing

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

2 participants