caoyunkang / Segment-Any-Anomaly

Official implementation of "Segment Any Anomaly without Training via Hybrid Prompt Regularization (SAA+)".
704 stars 76 forks source link

PermissionError: [Errno 13] Permission denied: 'C:\\Users\\xxx\\AppData\\Local\\Temp\\tmpwhdfb3ew\\tmpcnopyh0n.py' #19

Closed yangchengxin closed 1 year ago

yangchengxin commented 1 year ago

PermissionError: [Errno 13] Permission denied: 'C:\Users\xxx\AppData\Local\Temp\tmpwhdfb3ew\tmpcnopyh0n.py' 曹博,请问您遇到过这个bug嘛,该怎么解决呢,期待您的答复~

caoyunkang commented 1 year ago

您好!这看起来是环境配置相关的问题,我本地运行时没有遇到相关问题。建议先使用Colab https://colab.research.google.com/drive/12Sh0j92YYmTa0oIuSEWWpPBCpIwCSVhz 进行测试。

yangchengxin commented 1 year ago

您好!这看起来是环境配置相关的问题,我本地运行时没有遇到相关问题。建议先使用Colab https://colab.research.google.com/drive/12Sh0j92YYmTa0oIuSEWWpPBCpIwCSVhz 进行测试。

好的 谢谢曹博回复,我这边问题解决了

jellchou commented 6 months ago

Encountered the same issue,how did u solve it?

jellchou commented 6 months ago

Encountered the same issue,how did u solve it?

Solved it. Added temp_config_file.close(). In slconfig.py, after the temp_config_name line.