zixuanweeei edited a comment on issue #16256: [Bug] Failed to evaluate gradient 
on samples with train_mode=False
URL: 
https://github.com/apache/incubator-mxnet/issues/16256#issuecomment-535746280
 
 
   A nice paper! Maybe we can talk about it in the future. I am not familiar 
with some "axiom"s yet 😄 . As to get our change work, I think you should build 
it from source. It may contains some of the following steps,
   + Prepare the source code
   ```
   git clone --recursive https://github.com/apache/incubator-mxnet.git && cd 
incubator-mxnet
   git fetch https://github.com/zixuanweeei/incubator-mxnet.git 
rnn/force-forward-training
   git cherry-pick 025a22790773cbd2dede80fc05c61ea9f3896e9d
   ```
   + [Build it from 
source](https://mxnet.incubator.apache.org/get_started/ubuntu_setup.html). It 
depends on your platform. And you can find some useful scripts from 
https://github.com/apache/incubator-mxnet/tree/master/setup-utils. This process 
may contain some problems. It would be highly appreciate if you could share any 
expericence in your building.
   + Build pip wheel or configurate path variables
   ```
   # for unix-like env
   cd your/path/to/incubator-mxnet
   export PYTHONPATH=$PWD/python:$PYTHONPATH
   export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH
   ```
   + Check if it is at present if you set the path variables
   ```
   python -c "import mxnet; mxnet"
   ```
   You will get a path pointing at a subdirectory of the root directory of 
incubator-mxnet.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

Reply via email to