thuml / Xlearn

Transfer Learning Library
465 stars 155 forks source link

run pytorch code, Why has accuracy been zero? #32

Open rosenangua opened 4 years ago

rosenangua commented 4 years ago

I found that inputs = [data[j][0] for j in range(10)] labels = data[0][1]. labels is a a constant value. How should it be modified?