Lock error:matplotlib failed to acquire the following lock file #1355
Replies: 4 comments 1 reply
-
Can you install a new environment in your own directory? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
It seems to be a matplotlib issue, please try to delete the cache file according to https://stackoverflow.com/questions/71690325/timeouterror-lock-error-matplotlib-failed-to-acquire-the-following-lock-file |
Beta Was this translation helpful? Give feedback.
-
Thankyou! Delete it did work! |
Beta Was this translation helpful? Give feedback.
-
I used mmclassification to calculate the data on the Beijing Supercomputer, and the training model is resnet18. I checked the log after submitting the calculation, and the following error occurred:"Lock error:matplotlib failed to acquire the following lock file: this may due to another process holding this lock file".
Here is the full log error:
My cuda version is 11.3, torch is 1.12.1, mmcv version is 1.7, the installation path corresponds to cuda and torch, and the environment configuration check is correct.
I saw some suggestions to delete the matplotlib folder and try again. However, we did not have permission to operate this file. How to solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions