kvpratama / gan_metrics Goto Github PK
View Code? Open in Web Editor NEWMetrics to evaluate GAN
Metrics to evaluate GAN
Hello Mr. @kvpratama,
Thank you for your nice work and for making it open-source.
Could you guide me on which kind of changes I am supposed to do if my folder structure is like this:
real/
class0/
234.png
001.png
etc.
class1/
532.png
The generated folder image structure is the same.
Currently, I'm facing with this issue:
File "fid_score.py", line 231, in <module>
fid_value = calculate_fid_given_paths(args.path, args.batch_size, args.gpu != '', args.dims)
File "fid_score.py", line 179, in calculate_fid_given_paths
m1, s1 = _compute_statistics_of_path(paths[0], model, batch_size, dims, cuda)
File "fid_score.py", line 163, in _compute_statistics_of_path
m, s = calculate_activation_statistics(files, model, batch_size, dims, cuda)
File "fid_score.py", line 149, in calculate_activation_statistics
act = get_activations(files, model, batch_size, dims, cuda)
File "fid_score.py", line 54, in get_activations
for i in tqdm(range(0, len(files), batch_size)):
ValueError: range() arg 3 must not be zero
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.