LDC icon indicating copy to clipboard operation
LDC copied to clipboard

Checkpoint filte note found: checkpoints/BRIND/16/16_model.pth

Open 1119620691 opened this issue 2 years ago • 10 comments

1119620691 avatar Oct 17 '22 01:10 1119620691

您好,我运行代码时,出现了这个问题,请问怎么解决

1119620691 avatar Oct 17 '22 02:10 1119620691

你这个数据集的权重文件都没有,换12-->16,或者自己训练成.pth,再载入...

JXCrazy avatar Oct 17 '22 07:10 JXCrazy

好的,谢谢您,非常感谢

hezhe @.***

---Original--- From: @.> Date: Mon, Oct 17, 2022 15:22 PM To: @.>; Cc: @.@.>; Subject: Re: [xavysp/LDC] Checkpoint filte note found: checkpoints/BRIND/16/16_model.pth (Issue #2)

你这个数据集的权重文件都没有,换12-->16,或者自己训练成.pth,再载入...

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

1119620691 avatar Oct 17 '22 07:10 1119620691

Hi to everyone, I cannot follow you :(

xavysp avatar Oct 24 '22 02:10 xavysp

你这个数据集的权重文件都没有,换12-->16,或者自己训练成.pth,再载入...

NotADirectoryError: [WinError 267] 目录名称无效。: 'E:\codes\CV\LDC-main\dataset-lists\BIPED\edges/imgs\train\rgbr\real\RGB_001.jpg' 您好,请问有遇到这样的问题嘛?

zwz-append avatar Dec 03 '22 14:12 zwz-append

Cheap solution

Within main.py file at line 368

checkpoint_path = os.path.join(args.output_dir, args.train_data,args.checkpoint_data)

you can replace it with complete directory path like this:

checkpoint_path = r'C:\Users\faree\Desktop\lcnn\checkpoints\BRIND\11\11_model.pth'

based on the model you want to use.

FareedKhan-dev avatar Mar 18 '23 04:03 FareedKhan-dev

你好,这个代码你复现成功了吗?

poetry00 avatar Apr 16 '23 01:04 poetry00

@poetry00, yes I have but you need to follow the solution I mentioned above.

FareedKhan-dev avatar Apr 16 '23 04:04 FareedKhan-dev

when are you releasing the version 16?

spacewalkingninja avatar May 02 '23 00:05 spacewalkingninja

@poetry00, yes I have but you need to follow the solution I mentioned above.

hello,Have you trained your own dataset, and how do I train my own dataset

yqc1212443 avatar Jun 20 '23 08:06 yqc1212443