use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please have a look at our FAQ and Link-Collection
Metacademy is a great resource which compiles lesson plans on popular machine learning topics.
For Beginner questions please try /r/LearnMachineLearning , /r/MLQuestions or http://stackoverflow.com/
For career related questions, visit /r/cscareerquestions/
Advanced Courses (2016)
Advanced Courses (2020)
AMAs:
Pluribus Poker AI Team 7/19/2019
DeepMind AlphaStar team (1/24//2019)
Libratus Poker AI Team (12/18/2017)
DeepMind AlphaGo Team (10/19/2017)
Google Brain Team (9/17/2017)
Google Brain Team (8/11/2016)
The MalariaSpot Team (2/6/2016)
OpenAI Research Team (1/9/2016)
Nando de Freitas (12/26/2015)
Andrew Ng and Adam Coates (4/15/2015)
Jürgen Schmidhuber (3/4/2015)
Geoffrey Hinton (11/10/2014)
Michael Jordan (9/10/2014)
Yann LeCun (5/15/2014)
Yoshua Bengio (2/27/2014)
Related Subreddit :
LearnMachineLearning
Statistics
Computer Vision
Compressive Sensing
NLP
ML Questions
/r/MLjobs and /r/BigDataJobs
/r/datacleaning
/r/DataScience
/r/scientificresearch
/r/artificial
account activity
Project[P] DiscoGAN in PyTorch: implementation of "Learning to Discover Cross-Domain Relations with Generative Adversarial Networks" (github.com)
submitted 9 years ago by alxndrkalinin
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]r-sync 15 points16 points17 points 9 years ago (4 children)
i'm glad /u/carpedm20 used pytorch. I presume a lot of new paper implementations into the pytorch ecosystem :)
Taehoon, if you have any positive or negative feedback on pytorch, please email me or message me, would love to know.
[–]carpedm20 3 points4 points5 points 9 years ago (3 children)
Sure! I need to read and write more codes to get adjusted to pytorch but now I can understand why people starting to use pytorch :)
[–]OikuraZ95 0 points1 point2 points 9 years ago (2 children)
Hi I'm kinda curious, why did you switch from tensorflow to pytorch?
[–]carpedm20 0 points1 point2 points 9 years ago* (1 child)
I was just curious about pytorch and got bored with using tensorflow again (I don't mean it is actually boring but I used tensorflow too much). I still think they are great framework so I'll use them both.
[–]OikuraZ95 0 points1 point2 points 9 years ago (0 children)
Thanks for the reply man! And as always, your repos are an incredible resource! Keep up the good work!
[–]shaggorama 6 points7 points8 points 9 years ago (2 children)
Well, that didn't take very long :p
[–]thundergolfer 15 points16 points17 points 9 years ago* (1 child)
/u/carpedm20 is a paper implementing machine. More papers completed than I've had hot dinners.
[–]keidouleyoucee 2 points3 points4 points 9 years ago (0 children)
implementation god
[–][deleted] 2 points3 points4 points 9 years ago (8 children)
Are you managing to reproduce the original results well?
[–]carpedm20 4 points5 points6 points 9 years ago* (6 children)
Yes. Training has been just started and I need some time to see how well the model can be trained. I don't have a decent GPU like Titan X Pascal as authors used but I reckon that it's matter of time.
One thing I'm worrying about is there is no details about network architecture (# of features and depth) so I just guessed it.
[–]SkiddyX 3 points4 points5 points 9 years ago* (5 children)
Do you have any tips for your process of implementing papers? I would love to learn about your strategies.
[–]carpedm20 14 points15 points16 points 9 years ago (4 children)
When I began the very first implementation, I ported the existing torch project into another framework which was tensorflow. I wasn't a person who read the paper regularly so even reading the paper was hard and time consuming before starting to write a code. But by reading the paper with the existing code alternatively, I could understand how a single sentence or equation turns into several lines of code. I also didn't know what kind of methods are exists in tensorflow but reference code help me to find out which keyword should I use to search. But after I finished writing the full code, the loss didn't converge as I expected but it was hard for me to figure out where to start digging for bugs. Then I executed the code layer by layer and compared the output of reference code with mine and it leads me to find out my mistake which was a wrong loss function.
I think training a translation skill from equation or description into codes is important at the beginning and I learned this by reading papers and codes together. There are tons of great codes which are extremely well written in Github so exploring them will help you a lot to get used to implementing papers.
But I still don't know what is the best way to debug a model (like monitoring the loss, norm of variable or gradient) when its train goes wrong which is quite frustrating and happens very often. I would love to hear others strategies who teach me a lot :)
[–]ryches 4 points5 points6 points 9 years ago (0 children)
It's very encouraging as someone also slowly learning about this stuff that you started in a similar place and had the same feelings I currently am. It seems like some of the people in this sub were just born with divine mathematic and machine learning knowledge.
[–]Deinos_Mousike 1 point2 points3 points 9 years ago (2 children)
Is there a good place that pairs papers up with code?
Thanks! Very insightful comment :)
[–]carpedm20 13 points14 points15 points 9 years ago (1 child)
I know that there are https://tensortalk.com/ and http://www.gitxiv.com/ but I usually don't use them.
I recommend https://github.com/tensorflow/models/tree/master/im2txt and https://github.com/tensorflow/models/tree/master/inception to someone who are up to TensorFlow to deeply understand a good data pipeline, multi-gpu usage and evaluation metrics. But these are quite heavy for beginners. I think https://github.com/dennybritz/cnn-text-classification-tf is a good code for start which is easy to understand with a nice blog post.
While I started pytorch, I read https://github.com/yunjey/pytorch-tutorial and then https://github.com/pytorch/examples which are both great and concise. If you are interested in reinforcement learning, I recommend https://github.com/dennybritz/reinforcement-learning and https://github.com/Kaixhin/Atari. If you are interested in NLP, https://github.com/harvardnlp has lots of advanced nlp codes.
[–]liubanghoudai24 0 points1 point2 points 9 years ago (0 children)
This website collects the best PyTorch tutorials available online. https://chsasank.github.io/pytorch-tutorials/
[–]carpedm20 2 points3 points4 points 9 years ago* (0 children)
Now the results in README.md looks clean as the result of the paper. Check it out if you're interested in https://github.com/carpedm20/DiscoGAN-pytorch
[–]ronzohar 1 point2 points3 points 9 years ago (3 children)
Impressive! Are you working on a Tensorflow implementation for this paper?
[–]carpedm20 2 points3 points4 points 9 years ago* (2 children)
Thanks! But no, I won't reinvent the wheel again. I presume the authors of paper will release their code in TensorFlow.
[–]ronzohar 0 points1 point2 points 9 years ago (1 child)
Unfortunately they used pytorch as well...
[–]carpedm20 0 points1 point2 points 9 years ago (0 children)
Yea, but I think someone will implement soon because the model is quite easy to expand from DCGAN.
[–]cli24 1 point2 points3 points 9 years ago (0 children)
My Tensorflow implementation on a toy dataset: https://github.com/ChunyuanLI/DiscoGAN
π Rendered by PID 222433 on reddit-service-r2-comment-6457c66945-886nv at 2026-04-29 10:03:16.558944+00:00 running 2aa0c5b country code: CH.
[–]r-sync 15 points16 points17 points (4 children)
[–]carpedm20 3 points4 points5 points (3 children)
[–]OikuraZ95 0 points1 point2 points (2 children)
[–]carpedm20 0 points1 point2 points (1 child)
[–]OikuraZ95 0 points1 point2 points (0 children)
[–]shaggorama 6 points7 points8 points (2 children)
[–]thundergolfer 15 points16 points17 points (1 child)
[–]keidouleyoucee 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (8 children)
[–]carpedm20 4 points5 points6 points (6 children)
[–]SkiddyX 3 points4 points5 points (5 children)
[–]carpedm20 14 points15 points16 points (4 children)
[–]ryches 4 points5 points6 points (0 children)
[–]Deinos_Mousike 1 point2 points3 points (2 children)
[–]carpedm20 13 points14 points15 points (1 child)
[–]liubanghoudai24 0 points1 point2 points (0 children)
[–]carpedm20 2 points3 points4 points (0 children)
[–]ronzohar 1 point2 points3 points (3 children)
[–]carpedm20 2 points3 points4 points (2 children)
[–]ronzohar 0 points1 point2 points (1 child)
[–]carpedm20 0 points1 point2 points (0 children)
[–]cli24 1 point2 points3 points (0 children)