Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

'CIFAR10' object has no attribute 'train_data' #41

Closed
Andrew05200 opened this issue Jul 22, 2019 · 1 comment
Closed

'CIFAR10' object has no attribute 'train_data' #41

Andrew05200 opened this issue Jul 22, 2019 · 1 comment

Comments

@Andrew05200
Copy link

when I run bash experiments/run_cifar.sh in linux,the error are as follows:

Traceback (most recent call last):
File "train.py", line 35, in
dataloader = load_data(opt)
File "/home/z00377882/wangpengxiang/ganomaly/lib/data.py", line 60, in load_data
trn_img=dataset['train'].train_data,
AttributeError: 'CIFAR10' object has no attribute 'train_data'

@GerardMaggiolino
Copy link
Contributor

This was fixed in the PR I've made - check #42 and it's corresponding PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants