{"action":"closed","issue":{"url":"https://api.github.com/repos/albertpumarola/GANimation/issues/59","repository_url":"https://api.github.com/repos/albertpumarola/GANimation","labels_url":"https://api.github.com/repos/albertpumarola/GANimation/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/albertpumarola/GANimation/issues/59/comments","events_url":"https://api.github.com/repos/albertpumarola/GANimation/issues/59/events","html_url":"https://github.com/albertpumarola/GANimation/issues/59","id":375332040,"node_id":"MDU6SXNzdWUzNzUzMzIwNDA=","number":59,"title":"error reading images","user":{"login":"ZHUTAO142857","id":31002842,"node_id":"MDQ6VXNlcjMxMDAyODQy","avatar_url":"https://avatars0.githubusercontent.com/u/31002842?v=4","gravatar_id":"","url":"https://api.github.com/users/ZHUTAO142857","html_url":"https://github.com/ZHUTAO142857","followers_url":"https://api.github.com/users/ZHUTAO142857/followers","following_url":"https://api.github.com/users/ZHUTAO142857/following{/other_user}","gists_url":"https://api.github.com/users/ZHUTAO142857/gists{/gist_id}","starred_url":"https://api.github.com/users/ZHUTAO142857/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZHUTAO142857/subscriptions","organizations_url":"https://api.github.com/users/ZHUTAO142857/orgs","repos_url":"https://api.github.com/users/ZHUTAO142857/repos","events_url":"https://api.github.com/users/ZHUTAO142857/events{/privacy}","received_events_url":"https://api.github.com/users/ZHUTAO142857/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-30T05:55:12Z","updated_at":"2018-11-05T07:39:27Z","closed_at":"2018-11-05T07:39:26Z","author_association":"NONE","body":"I use 22K images from EmotioNet to train the model. However, some error comes up.\r\n------------------------------------------------------------------------\r\n./checkpoints/experiment_1\r\nDataset AusDataset was created\r\nDataset AusDataset was created\r\n#train images = 175436\r\n#test images = 48414\r\nNetwork generator_wasserstein_gan was created\r\nNetwork discriminator_wasserstein_gan was created\r\nModel GANimation was created\r\nerror reading image N_0000000315_00913, skipping sample\r\nerror reading image N_0000000438_00773, skipping sample\r\nerror reading image N_0000000225_00354, skipping sample\r\nerror reading image N_0000000534_00443, skipping sample\r\nerror reading image N_0000000410_00453, skipping sample\r\nerror reading image N_0000000287_00339, skipping sample\r\nerror reading image N_0000000471_00078, skipping sample\r\nTraceback (most recent call last):\r\n  File \"train.py\", line 141, in <module>\r\n    Train()\r\n  File \"train.py\", line 27, in __init__\r\n    self._train()\r\n  File \"train.py\", line 40, in _train\r\n    self._train_epoch(i_epoch)\r\n  File \"train.py\", line 59, in _train_epoch\r\n    for i_train_batch, train_batch in enumerate(self._dataset_train):\r\n  File \"/home/zhutao/anaconda3/envs/ganimation/lib/python2.7/site-packages/torch/utils/data/dataloader.py\", line 336, in __next__\r\n    return self._process_next_batch(batch)\r\n  File \"/home/zhutao/anaconda3/envs/ganimation/lib/python2.7/site-packages/torch/utils/data/dataloader.py\", line 357, in _process_next_batch\r\n    raise batch.exc_type(batch.exc_msg)\r\nRuntimeError: Traceback (most recent call last):\r\n  File \"/home/zhutao/anaconda3/envs/ganimation/lib/python2.7/site-packages/torch/utils/data/dataloader.py\", line 106, in _worker_loop\r\n    samples = collate_fn([dataset[i] for i in batch_indices])\r\n  File \"/home/zhutao/anaconda3/envs/ganimation/lib/python2.7/site-packages/torch/utils/data/dataloader.py\", line 184, in default_collate\r\n    return {key: default_collate([d[key] for d in batch]) for key in batch[0]}\r\n  File \"/home/zhutao/anaconda3/envs/ganimation/lib/python2.7/site-packages/torch/utils/data/dataloader.py\", line 184, in <dictcomp>\r\n    return {key: default_collate([d[key] for d in batch]) for key in batch[0]}\r\n  File \"/home/zhutao/anaconda3/envs/ganimation/lib/python2.7/site-packages/torch/utils/data/dataloader.py\", line 173, in default_collate\r\n    return torch.stack([torch.from_numpy(b) for b in batch], 0)\r\nRuntimeError: cannot unsqueeze empty tensor\r\n\r\nerror reading image N_0000000570_00513, skipping sample\r\nerror reading image N_0000000406_00513, skipping sample\r\n"}}
{"actor":{"display_login":"albertpumarola"}}