You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/09/18 05:02:17 UTC
[GitHub] Lyken17 commented on a change in pull request #7929: Merge `mxbox` into `gluon.data`
Lyken17 commented on a change in pull request #7929: Merge `mxbox` into `gluon.data`
URL: https://github.com/apache/incubator-mxnet/pull/7929#discussion_r139337517
##########
File path: python/mxnet/gluon/data/transforms/mxnetTool.py
##########
@@ -0,0 +1,137 @@
+from __future__ import division
+
+import math
+import random
+
+from PIL import Image, ImageOps
+import PIL
+
+try:
+ import accimage
+except ImportError:
+ accimage = None
+
+import numpy as np
+import numbers
+import types
+import collections
+import mxnet as mx
Review comment:
The transformation needs some operators inside `mx.nd`. So should I use relative import like `from ..... import mxnet as mx` ?
----------------------------------------------------------------
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