-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: './train_images/manipulated_sequences/Deepfakes/raw/frames/585_599/frame_0 #34
Comments
我的是在使用test.py时出现的相同问题,这是因为在使用extract...py 处理数据集时所生成的json文件中的许多图片,其实在train_images或者test_images的图片文件夹之下并不存在 |
那兄弟该怎么办 |
没想出好的解决方法,就把提取的frame对应的source_img都设置成original中的frame_0 |
应该不是吧,我也遇见这个问题 |
老兄有没有跑通,可否加个vx交流一下? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "train.py", line 151, in
train()
File "train.py", line 102, in train
train_dataset = DeepfakeDataset('train', cfg)
File "/home/lab/tSun/CADDM-master/dataset.py", line 37, in init
self.samples = self.collect_samples()
File "/home/lab/tSun/CADDM-master/dataset.py", line 56, in collect_samples
info_meta = self.info_meta_dict[info_key]
KeyError: './train_images/manipulated_sequences/Deepfakes/raw/frames/585_599/frame_0'
I ran into this problem while running the program. Can you help me solve it!
The text was updated successfully, but these errors were encountered: