Skip to content

Commit 3623af0

Browse files
2 parents df568ef + 665b57d commit 3623af0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ project(pytorch_enet_ros)
55
add_compile_options(-std=c++11)
66

77
# Locate the cmake file of torchlib
8-
set(Torch_DIR "/opt/pytorch/pytorch/torch/share/cmake/Torch/")
8+
#set(Torch_DIR "/opt/pytorch/pytorch/torch/share/cmake/Torch/")
9+
set(Torch_DIR "$ENV{TORCH_ROOT}/torch/share/cmake/Torch/")
910

1011
## Find catkin macros and libraries
1112
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
# pytorch_enet_ros
2+
3+
A Docker environment for both training network on PyTorch, and inference using ROS is [here](https://github.com/ActiveIntelligentSystemsLab/pytorch-enet-docker).
4+
This package is only tested on the virtual environment.

0 commit comments

Comments
 (0)