yeates / MMT

[ECCV22] Unbiased Multi-Modality Guidance for Image Inpainting
Apache License 2.0
31 stars 1 forks source link

你好,在训练过程中出现如下问题,可以帮助解答一下吗? #3

Open zhangshilong2000 opened 11 months ago

zhangshilong2000 commented 11 months ago

Traceback (most recent call last): File "D:/研究生/图像修复/文献代码/Unbiased Multi-Modality Guidance for Image Inpainting/MMT-main/train.py", line 53, in run() File "D:/研究生/图像修复/文献代码/Unbiased Multi-Modality Guidance for Image Inpainting/MMT-main/train.py", line 40, in run dataloader = DataLoader(dataset, batch_size = args.batch_size, shuffle = True, num_workers = args.n_threads) File "D:\Tools\Anaconda\envs\magic\lib\site-packages\torch\utils\data\dataloader.py", line 262, in init sampler = RandomSampler(dataset, generator=generator) # type: ignore File "D:\Tools\Anaconda\envs\magic\lib\site-packages\torch\utils\data\sampler.py", line 103, in init raise ValueError("num_samples should be a positive integer " ValueError: num_samples should be a positive integer value, but got num_samples=0

Process finished with exit code 1

SHIJILIANG01 commented 11 months ago

路径问题

zhangshilong2000 commented 11 months ago

非常感谢您的回答, Starting training from iteration:0 0%| | 0/40000 [00:00<?, ?it/s] 训练的时候,一直停滞,这个也是路径的问题吗

SHIJILIANG01 commented 11 months ago

非常感谢您的回答, Starting training from iteration:0 0%| | 0/40000 [00:00<?, ?it/s] 训练的时候,一直停滞,这个也是路径的问题吗

能否看看你的路径

zhangshilong2000 commented 11 months ago

张世龙 @.***

 

------------------ 原始邮件 ------------------ 发件人: "yeates/MMT" @.>; 发送时间: 2023年9月14日(星期四) 晚上10:56 @.>; @.**@.>; 主题: Re: [yeates/MMT] 你好,在训练过程中出现如下问题,可以帮助解答一下吗? (Issue #3)

非常感谢您的回答, Starting training from iteration:0 0%| | 0/40000 [00:00<?, ?it/s] 训练的时候,一直停滞,这个也是路径的问题吗

能否看看你的路径

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

zhangshilong2000 commented 11 months ago

image image 训练的时候停滞不前