ViTAE-Transformer / SAMRS

The official repo for [NeurIPS'23] "SAMRS: Scaling-up Remote Sensing Segmentation Dataset with Segment Anything Model"
277 stars 14 forks source link

FileNotFoundError: [Errno 2] No such file or directory: '/root/dw/pretrn/sam_vit_h_4b8939.pth' #21

Open 1835969208 opened 4 months ago

1835969208 commented 4 months ago

作者大大,我在把项目部署到本地的过程中报错了,但压根找不到报错的原因,求解FileNotFoundError: [Errno 2] No such file or directory: '/root/dw/pretrn/sam_vit_h_4b8939.pth' SR~N0V8V4%YP6G37R4RHESH

DotWang commented 4 months ago

@1835969208 这是SAM本身的权重,你去它的仓库下载

1835969208 commented 4 months ago

FileNotFoundError: [Errno 2] No such file or directory: '/root/dw/samrs/work_dir/hrsc/json/sam_ins_hbox.json' QQ图片20240514181459 这个又是神马情况捏

DotWang commented 4 months ago

@1835969208 你仔细看一下readme,你用错文件了,你现在跑的这个对应文中hrsc那部分

1835969208 commented 4 months ago

好的谢谢  

周志辉 @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年5月14日(星期二) 晚上6:26 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [ViTAE-Transformer/SAMRS] FileNotFoundError: [Errno 2] No such file or directory: '/root/dw/pretrn/sam_vit_h_4b8939.pth' (Issue #21)

@1835969208 你仔细看一下readme,你用错文件了,你现在跑的这个对应文中hrsc那部分

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

DotWang commented 4 months ago

@1835969208 对了,json这部分我后来好像没有用到,一开始是想把在hrsc上顺便评测一下实例分割精度的,后来也没搞,你可以把它注释掉,后来真正用来生成大规模分割标注数据集的是main_sam_hbox_semantic.pymain_sam_rhbox_semantic.py

1835969208 commented 4 months ago

这个文件又是在哪里,压根没有呀 RG28@6EVTC%A82`6EYBIDUU

DotWang commented 4 months ago

@1835969208 你不应该根据你下好的目标检测数据集的路径自己去改吗,这么简单的问题真别问了大哥