clcarwin / sphereface_pytorch

A PyTorch Implementation of SphereFace.
MIT License
714 stars 172 forks source link

Improved logic for iterating over 'pairs.txt' #64

Open sayandipdutta opened 2 years ago

sayandipdutta commented 2 years ago

closes #62 closes #63

Instead of loading the entire file into the memory, use the iterator object natively provided by the file object returned by the open function.