nswamy commented on a change in pull request #13582: [MXNET-1195] Cleanup Scala
README file
URL: https://github.com/apache/incubator-mxnet/pull/13582#discussion_r239991854
##########
File path: scala-package/README.md
##########
@@ -70,123 +122,24 @@ make
SCALA_TEST_ARGS=-Dsuites=org.apache.mxnet.NDArraySuite scalaunittest
If everything goes well, you will find jars for `assembly`, `core` and
`example` modules.
Also it produces the native library in `native/{your-architecture}/target`,
which you can use to cooperate with the `core` module.
-Once you've downloaded and unpacked MNIST dataset to `./data/`, run the
training example by
-
-```bash
-java -Xmx4G -cp \
-
scala-package/assembly/{your-architecture}/target/*:scala-package/examples/target/*:scala-package/examples/target/classes/lib/*
\
- org.apache.mxnet.examples.imclassification.TrainMnist \
- --data-dir=./data/ \
- --num-epochs=10 \
- --network=mlp \
- --cpus=0,1,2,3
-```
-
-If you've compiled with `USE_DIST_KVSTORE` enabled, the python tools in
`mxnet/tracker` can be used to launch distributed training.
-The following command runs the above example using 2 worker nodes (and 2
server nodes) in local. Refer to [Distributed
Training](http://mxnet.incubator.apache.org/how_to/multi_devices.html) for more
details.
-
-```bash
-tracker/dmlc_local.py -n 2 -s 2 \
- java -Xmx4G -cp \
-
scala-package/assembly/{your-architecture}/target/*:scala-package/examples/target/*:scala-package/examples/target/classes/lib/*
\
- org.apache.mxnet.examples.imclassification.TrainMnist \
- --data-dir=./data/ \
- --num-epochs=10 \
- --network=mlp \
- --cpus=0 \
- --kv-store=dist_sync
-```
-
-Change the arguments and have fun!
+Examples & Usage
Review comment:
we shouldn't remove the example for training, can you please update the
example?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services