pytorch-CycleGAN-and-pix2pix
pytorch-CycleGAN-and-pix2pix copied to clipboard
ValueError: num_samples should be a positive integeral value, but got num_samples=0
please help!I met this problem and can't solve it
We don't have num_samples in this repo. Would it be possible to share with us the trace of the program?
Thank you for replying.This is the trace.
------------------ 原始邮件 ------------------ 发件人: "Jun-Yan Zhu"[email protected]; 发送时间: 2019年9月14日(星期六) 晚上11:10 收件人: "junyanz/pytorch-CycleGAN-and-pix2pix"[email protected]; 抄送: "tpy"[email protected]; "Author"[email protected]; 主题: Re: [junyanz/pytorch-CycleGAN-and-pix2pix] ValueError: num_samplesshould be a positive integeral value, but got num_samples=0 (#767)
We don't have num_samples in this repo. Would it be possible to share with us the trace of the program?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
这个错误的原因是因为你的数据集没有加载进去
我也遇到这个问题,是怎么解决的
You need to set the data path correctly.