You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2017/12/08 20:59:32 UTC

[GitHub] mbaijal commented on a change in pull request #8990: Fix Example example/dec/dec.py

mbaijal commented on a change in pull request #8990: Fix Example example/dec/dec.py
URL: https://github.com/apache/incubator-mxnet/pull/8990#discussion_r155874494
 
 

 ##########
 File path: example/deep-embedded-clustering/dec.py
 ##########
 @@ -82,8 +82,8 @@ def list_arguments(self):
 
     def setup(self, X, num_centers, alpha, save_to='dec_model'):
         sep = X.shape[0]*9/10
-        X_train = X[:sep]
-        X_val = X[sep:]
+        X_train = X[:int(sep)]
 
 Review comment:
   I made the change here, testing locally now.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services