CLRNet icon indicating copy to clipboard operation
CLRNet copied to clipboard

PermissionError: [Errno 13] Permission denied:

Open frozenbird07 opened this issue 2 years ago • 8 comments

input python main.py configs/clrnet/clr_resnet18_tusimple.py --gpus 0 then terminal shows that: PermissionError: [Errno 13] Permission denied: 'C:\Users\FROZEN~1\AppData\Local\Temp\tmpw0ua7u21\tmp84udovr7.py' how to solve this problem? I search in baidu.com to find out but nobody can get a useful solution.

frozenbird07 avatar May 07 '23 15:05 frozenbird07

Are you running on windows?This part of the bug has to do with code that uses python to generate cache files line99 temp_config_file = tempfile.NamedTemporaryFile(dir=temp_config_dir, suffix='.py', delete=False) add the “delete = False”

fenghuohuo2001 avatar May 10 '23 07:05 fenghuohuo2001

I meet this problem too,have you fixed it ?

zhangzhongyuan1996 avatar Sep 11 '23 02:09 zhangzhongyuan1996

邮件已收到若24小时内未回复,请qq或微信联系

fenghuohuo2001 avatar Sep 11 '23 02:09 fenghuohuo2001

这个代码报错是怎么解决的,我也遇到了同样的问题。但是我检查了一下clr_resnet18_tusimple.py文件没有发现明显的错误。

zhangzhongyuan1996 avatar Sep 11 '23 02:09 zhangzhongyuan1996

上面给出的方法我没试过,他说是win下python的小bug,改某个位置,我是直接最后装linux了

frozenbird07 avatar Sep 11 '23 02:09 frozenbird07

我改了,config.py文件,但是还是有问题

zhangzhongyuan1996 avatar Sep 11 '23 05:09 zhangzhongyuan1996

邮件已收到若24小时内未回复,请qq或微信联系

请问你在windows成功复现了这个模型吗 你的qq和微信是什么 想请教一下你关于这个模型的问题

toughhhh avatar Dec 13 '23 14:12 toughhhh

之前实习的时候复现过,你可以先用tusimple数据集实验发自我的荣耀手机-------- 原始邮件 --------发件人: toughhhh @.>日期: 2023年12月13日周三 晚上10:03收件人: Turoad/CLRNet @.>抄送: zhangzhongyuan1996 @.>, Comment @.>主 题: Re: [Turoad/CLRNet] PermissionError: [Errno 13] Permission denied: (Issue #112)

邮件已收到若24小时内未回复,请qq或微信联系

请问你在windows成功复现了这个模型吗 你的qq和微信是什么 想请教一下你关于这个模型的问题

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

zhangzhongyuan1996 avatar Dec 13 '23 17:12 zhangzhongyuan1996