This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.0 FATAL_ERROR) | |
project(custom_ops) | |
set(CMAKE_PREFIX_PATH /home/marios-cellink/libtorch) | |
set(CMAKE_CXX_STANDARD 11) | |
set(CMAKE_CXX_STANDARD_REQUIRED TRUE) | |
find_package(Torch REQUIRED) | |
find_package(OpenCV 3.4.3 REQUIRED) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!bin/bash | |
TEST_RESET='/e[0m' | |
TEST_YELLOW='/e[1;33m' | |
sudo apt-get install libgtest-dev | |
echo -e $TEST_YELLOW | |
echo "APT fininshed installing Google Tests.." | |
echo -e $TEST_RESET |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TEXT_RESET='\e[0m' | |
TEXT_YELLOW='\e[1;33m' | |
wget https://developer.nvidia.com/compute/cuda/9.2/Prod2/local_installers/cuda-repo-ubuntu1604-9-2-local_9.2.148-1_amd64 | |
echo -e $TEXT_YELLOW | |
echo 'WEBGET finished..' | |
echo -e $TEXT_RESET |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TEXT_RESET='\e[0m' | |
TEXT_YELLOW='\e[1;33m' | |
wget https://developer.nvidia.com/compute/cuda/9.2/Prod2/local_installers/cuda-repo-ubuntu1604-9-2-local_9.2.148-1_amd64 | |
echo -e $TEXT_YELLOW | |
echo 'WEBGET finished..' | |
echo -e $TEXT_RESET |