Closed mjabri closed 11 years ago
I've merged the imagen pull request and made some changes; please verify that it still works. In particular, I changed the pattern_sampler so that it wasn't being overwritten in the constructor; previously no one would have been able to supply their own pattern_sampler or change any of its parameters until after the NumpyFile object is created, which is awkward and would have been surprising (i.e. seem to be a bug) in certain cases. The new version should work the same for anything the old one would have done, but please verify that.
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
Tested with what I was doing and it seems to be working as I expected. Thanks.
Added NumpyFile array reader Added tests on scale and offset in PatternGenerator's call before doings ops.