tSchlegl / f-AnoGAN

Code for reproducing f-AnoGAN training and anomaly scoring
MIT License
248 stars 64 forks source link

Issue in image path;Can you help me #5

Open adeebakausar opened 5 years ago

adeebakausar commented 5 years ago

Traceback (most recent call last): File "wgangp_64x64.py", line 444, in train() File "wgangp_64x64.py", line 340, in train _x = inf_train_gen().next() File "wgangp_64x64.py", line 336, in inf_train_gen for (images,) in train_gen(): File "/content/f-AnoGAN/tflib/img_loader.py", line 76, in get_epoch assert(len(files) > 0) AssertionError

adeebakausar commented 5 years ago

Please share your few images of your dataset, So that i feel easy to run this repo

lzzlxxlsz commented 5 years ago

hello,have you run the code sucessfully?

murielmazzetto commented 5 years ago

I had this problem, it occurred because my image files were .jpeg, and the code is set to run with .png. I converted my files using mogrify -format png *.jpeg on ubuntu 18.04 and it was solved.

lzzlxxlsz commented 5 years ago

What's the result? Can anomalous data be identified?

philipwelia commented 4 years ago

I met the issue as well, and I had renamed my filename to .png, but it didnt work . had anyone solve this problem?