Tianyu Yan-dlut

Results 33 comments of Tianyu Yan-dlut

学者您好,     你们的工作很优秀,代码很清晰,十分感谢你们做的贡献!     但是好像epoch_159里面才有关于lora部分的参数,我们在别的任务上用的时候,是在vit-b的参数上重头开始训练lora部分吗?     还有一个问题就是出现了loss不下降问题,在使用sgd和adaw的情况下。请问是必须使用warm_up才能训动吗?     如果您能回复我将异常感谢! 一名学者 2981431354 ***@***.***   ------------------ 原始邮件 ------------------ 发件人: "hitachinsk/SAMed" ***@***.***>; 发送时间: 2023年5月14日(星期天) 下午2:51 ***@***.***>; 抄送: "Tianyu ***@***.******@***.***>; 主题: Re: [hitachinsk/SAMed] CANnot load...

I have achieved a good result on our task and I would like to express my sincere appreciation to the author for their contribution! This is an extremely excellent code,...

您好! 我看到你们又提供了samed-h结果,请问这个是在您公布的原始samed源代码的模型下,把segment-anything部分换成您samed-h文件夹里的那个就行了嘛? 2981431354 ***@***.***   ------------------ 原始邮件 ------------------ 发件人: "hitachinsk/SAMed" ***@***.***>; 发送时间: 2023年5月15日(星期一) 中午11:14 ***@***.***>; 抄送: "Tianyu ***@***.******@***.***>; 主题: Re: [hitachinsk/SAMed] CANnot load pretrain (Issue #1) 你好,epoch_159指的是我们在模型微调到第159个epoch的时候保存了LoRA的参数。如果你需要自己微调的话,是需要自己从头训练LoRA部分的。其次,我们发现warmup对模型收敛十分重要,当然你可以调一调学习率使得模型收敛,但是似乎不及warmup有效。 — Reply to this email directly, view it...

不是的,请你看第一个问题我的回答

你直接看sam_lora_image_encoder_modi.py那个函数,那个才是总体的image encoder函数,你顺着那个逻辑看就行。pytorch iou删了就行,我忘记删了,没用到。 2981431354 ***@***.***   ------------------ 原始邮件 ------------------ 发件人: "Drchip61/Dual_SAM" ***@***.***>; 发送时间: 2024年5月10日(星期五) 下午3:46 ***@***.***>; 抄送: "Tianyu ***@***.******@***.***>; 主题: Re: [Drchip61/Dual_SAM] 关于Global_adapter1的疑问 (Issue #2) 不是的,请你看第一个问题我的回答 我问的是Global_adapter1,也就是desam里面的模块,代码的实现就是调用的Global_adapter1的forward函数,也就是将两个分支的embeding交换了一下位置。另外我还想请问下作者train函数里的pytorch_iou是什么包? — Reply to this email directly, view it...

额因为整体的代码是实验中慢慢改进得来的,因此有些代码写的不是特别符合直觉。这个函数的使用是通过实例化,然后直接调里面的函数,而不使用这个实例本身,也就是不会使用到这个forward。

sam_lora_image_encoder_modi.py这个程序的185到198行 2981431354 ***@***.***   ------------------ 原始邮件 ------------------ 发件人: "Drchip61/Dual_SAM" ***@***.***>; 发送时间: 2024年4月18日(星期四) 晚上7:49 ***@***.***>; 抄送: "Tianyu ***@***.******@***.***>; 主题: Re: [Drchip61/Dual_SAM] Global_adapter疑问 (Issue #1) 想请问具体调用在哪个文件的哪个函数呢,主要想看看Global_adapter的具体代码实现 — Reply to this email directly, view it on GitHub, or...

First and foremost, I apologize for the delayed response. Due to some personal family issues and my habit of procrastination, I have not been able to reply to your queries...

Regarding your inquiry about the dataset splitting, I will upload the details within 3 hours of this email.

mask2_prompt.pth is just the path where the trained model is saved. This should be in the test code, right? I saved this path during my later ablation studies and uploaded...