facenet
facenet copied to clipboard
python3 iteritems renamed to items in train_softmax.py
print('Saving statistics')
with h5py.File(stat_file_name, 'w') as f:
for key, value in stat.iteritems():
f.create_dataset(key, data=value)
should be
for key, value in stat.items():
Can confirm, I get AttributeError: 'dict' object has no attribute 'iteritems' without the change, but with the change, everything runs smoothly. Thanks for pointing this out!
I have the same question. Thanks very much.