Comments (4)
@xuqiantong I have made a PR which fixed several bugs and modified the structure. Details are shown in PR comment.
THX for your paper and codes again.
from gan-metrics.
The bugs are easy to be fixed by following:
- If windows, make the codes in
demo_dcgan.py
run under
if __name__ == '__main__':
to handle with the multi-process errors.
(or make the parameternum_worker
to 0 in alldataloader()
functions) - open
metric.py
file in the root directory, line 105-116 which should be
iter = 0
for i, data in enumerate(dataloader, 0):
img, _ = data
for j in range(0, len(img)):
vutils.save_image(img[j].mul(0.5).add(
0.5), saveFolder + giveName(iter) + ".png")
iter += 1
if iter >= sampleSize:
break
if iter >= sampleSize:
break
the author input redundant tab
s to these lines. use shift+tab
to delete the tabs ! That's why no real sample is generated in the folder.
from gan-metrics.
Thanks @youyuge34 for pointing out the problem! Would you mind to send out a PR to fix it?
from gan-metrics.
Bug fixed by @youyuge34 in #2. Closing.
from gan-metrics.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gan-metrics.