Open benlten opened 5 years ago
"Chainer 2.0.0+" I`m using Chainer 4.3.1 and Cupy 4.1.0
I am still getting the assertion error for the method that crops the center:
I see the check for image_size (64) for the uc_dataset.py - but I am assuming the hd5 data is being used, unless this is a sanity check.
File "/data/bcichy/tgan/train.py", line 188, in
This is not a chainer issue. This is because the provided pre-processed dataset has the videos cropped to 48 x 48 for some reason. This can be solved by manually pre-processing the videos.
Here's just a small snippet of the error chain: File "/home/bcichy/anaconda3/lib/python3.6/site-packages/chainer/dataset/dataset_mixin.py", line 67, in getitem return self.get_example(index) File "datasets/ucf_dataset.py", line 37, in get_example x = self._crop_center(x) File "datasets/ucf_dataset.py", line 26, in _crop_center assert x.shape[2] == self.img_size AssertionError
Is there a specific chainer version to run (+ cupy) because I don't see a requirements file for this project.