Zhiyuan1991 / proVLAE

Other
27 stars 3 forks source link

Not talking about 'cosmetics': Code quality #1

Closed dominikzietlow closed 4 years ago

dominikzietlow commented 4 years ago

Hi guys,

I really appreciate that you release the code of your architecture that, admittedly, shows incredible results!

Please, for the sake of making this code useful for fellow researchers (and as such a contribution to the field), invest some time to clean up the code, delete redundancies, empty import statements (e.g. pytorch and tensorflow in the same file), give proper variable- and method-names and so on. The code in its current state is very hard to work with.

In my opinion, the unquestionably high quality of the paper published at a top tier conference, does not reflect in the quality of this repository!

Filing a report

Zhiyuan1991 commented 4 years ago

Hi Dominik, we’re sorry that the code was not as easy to use as intended. Although rather than dumping it online, we did try our best to clean up the codes and have it tested by other users, before it was released. We appreciate your additional feedback and we will work on that to make our codes better.

The pytorch module is only used for computing MIG metrics by re-using codes from other works (included in license). Training and results visulization should have no problem to run in tensorflow alone. We will double-check those variable and function names, and add more detailed documentations for them.

Thanks!

dominikzietlow commented 4 years ago

Hi!

Thanks for your rapid response and apologies for the slightly heated formulation - it included a lot of overall frustration with the inconsistency of code bases in our field.

On a more constructive note:

Since your work may well turn out to be THE baseline for learning of disentangled representations, I would be very happy to see an improved code base!

Again apologies for the phrasing of my initial issue. Many thanks, Dominik