Skip to content
This repository has been archived by the owner on May 21, 2018. It is now read-only.

Commit

Permalink
Fix activate torch
Browse files Browse the repository at this point in the history
  • Loading branch information
wenwei-dev committed Nov 28, 2016
1 parent bcf85c1 commit 21a65c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/hrtool
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,9 @@ export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH
export MANYEARSLIB_PREFIX=$MANYEARSLIB_PREFIX
export CLANDMARK_DIR=$VISION_TOOL_PREFIX/clandmark
[ -f $TORCH_DIR/install/bin/torch-activate ] && source $TORCH_DIR/install/bin/torch-activate
if [[ -f $TORCH_DIR/install/bin/torch-activate ]]; then
source $TORCH_DIR/install/bin/torch-activate
fi
EOF

cp $HR_ENVFILE_PATH $BASEDIR >/dev/null 2>&1 # For compatibility
Expand Down

0 comments on commit 21a65c1

Please sign in to comment.