sbarratt/inception-score-pytorch

To read own dataset

phyuphyuthaw opened this issue · 1 comments

I have some errors while reading my own dataset.

Calculating Inception Score...
Traceback (most recent call last):
File "calculate_inception4.py", line 113, in
print (calculate_inception4(MyDataSet, cuda=False, batch_size=32, resize=True, splits=10))
File "calculate_inception4.py", line 24, in calculate_inception4
N = len(imgs)
TypeError: object of type 'type' has no len()

how to run my own dataset