Image-Forgery-using-Deep-Learning
Image-Forgery-using-Deep-Learning copied to clipboard
Error in runing train_MBN2_mod.py
Hi. I used CASIA 2.0 dataset and train MBN2 model, in running train_MBN2_mod.py, the system raised the error as below:
Train on epoch 1
0%| | 0/19 [00:00<?, ?it/s]
Traceback (most recent call last):
File "train_MBN2_mod.py", line 163, in
How can I do for solving this problem?
I have solved this problem.
The reason is the photos from CASIA 2.0 dataset is 384256, but the input of the netural network is 6464, so we should resize the image before training as below:
