I have modified the file nn/lib/THNN/generic/MSECriterion.c in torch such that XxX is changed to XxX/2. But on calling the function nn.MSECriterion(vector1, vector2), it is executing the same old function XxX. How can I execute the change newly incorporated. Is it even possible to do? Thanks in advance.
Asked
Active
Viewed 48 times
1 Answers
0
You probably need to recompile them.

Chen
- 64
- 1
- 1
- 3
-
Thanks Chen. I tried recompiling using cd torch/extra/nn/; luarocks make rocks/nn-scm-1.rockspec. But it is not working. – Amy segenuelle Jul 26 '18 at 06:03