rahul003 commented on a change in pull request #8993: Fix compatibility of 
examples with py3
URL: https://github.com/apache/incubator-mxnet/pull/8993#discussion_r156221451
 
 

 ##########
 File path: example/rcnn/rcnn/core/tester.py
 ##########
 @@ -15,13 +15,14 @@
 # specific language governing permissions and limitations
 # under the License.
 
-import cPickle
+from six.moves import cPickle
 
 Review comment:
   this example already requires few libraries to be installed. Installing six 
doesn't seem too hard? Besides not using six means using ugly if else 
statements for different versions of python

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to