twcmchang / mlds2017 Goto Github PK
View Code? Open in Web Editor NEWMachine Learning and Having it Deep and Structured at National Taiwan University, 2017 Spring
Machine Learning and Having it Deep and Structured at National Taiwan University, 2017 Spring
I tried your code in hw3, and found some errors when running the project.
It seems that the images are not transformed to 64x64 in the function 'get_image()' in utils.py. So I add image transform in the function ' get_image()'.
In embed.py, tags containing 'hair' or 'eye' (i.e. 18175 images) are selected for training with the following code:
tag_dict_in_use_1 = dict([(k,v) for k,v in tag_dict_in_use.items() if not v == ' and '])
but I think it should be:
tag_dict_in_use_1 = dict([(k,v) for k,v in tag_dict_in_use.items() if not v == ' '])
Could you please check if my revision is correct?
I tried the code with the above revision, but I found the discriminator and generator loss both increases rapidly when running the code with WGAN_v2 (i.e., the loss goes to 10000 when epoch>200). However, DCGAN and WGAN worked.
I want to ask if there are any other different settings except the args when running the code with WGAN_v2?
In your report, there are 3 cases with 18175 images, 11569 images and 33431 images, respectively. But I didn't find the tag processing code corresponding the 3 cases. Could you please tell how to process the images and tags, and run the code in case 2 and case 3?
Thank you very much!
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.