xavysp / LDC

LDC: Lightweight Dense CNN for Edge Detection
128 stars 15 forks source link

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

Open 1119620691 opened 1 year ago

1119620691 commented 1 year ago

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

JXCrazy commented 1 year ago

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

1119620691 commented 1 year ago

好的,谢谢您,非常感谢

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: @.***>

xavysp commented 1 year ago

Hi to everyone, I cannot follow you :(

zwz-append commented 1 year ago

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

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

FareedKhan-dev commented 1 year ago

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.

poetry00 commented 1 year ago

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

FareedKhan-dev commented 1 year ago

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

spacewalkingninja commented 1 year ago

when are you releasing the version 16?

yqc1212443 commented 1 year ago

@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