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
hints |
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
///////////////////////////////////////////////////////////////////////////// | |
// Name: thumbnailctrl.cpp | |
// Purpose: Displays a scrolling window of thumbnails | |
// Author: Julian Smart | |
// Modified by: Anil Kumar | |
// Created: 03/08/04 17:22:46 | |
// RCS-ID: | |
// Copyright: (c) Julian Smart | |
// Licence: wxWidgets Licence | |
///////////////////////////////////////////////////////////////////////////// |
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
How to deploy tensorflow on c | |
https://medium.com/@ildar.idrisov |
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
#https://gitlab.com/EAVISE/publicwiki/wikis/install-vatic | |
sudo apt-get install -y git python-setuptools python-dev libfreetype6 libfreetype6-dev apache2 libapache2-mod-wsgi mysql-server-5.7 mysql-client-5.7 libmysqlclient-dev | |
sudo pip install cython==0.20 | |
sudo pip install SQLAlchemy wsgilog mysql-python parsedatetime argparse | |
sudo pip install numpy | |
# in my case this solution worked | |
sudo apt-get install python-munkres |
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
bash scripts |
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
# wxwidgets | |
sudo apt-get install libwxgtk3.0-dev libwxgtk3.0-0v5-dbg | |
# code blocks | |
sudo apt-get install codeblocks |
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
#include "yolo_console_dll.h" | |
#include <iostream> | |
#include <iomanip> | |
#include <string> | |
#include <vector> | |
#include <queue> | |
#include <fstream> | |
#include <thread> | |
#include <future> | |
#include <algorithm> // for std::find |
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
ishladi: | |
sudo cp /home/ixtiyor/Downloads/opencv-3.3.1/build/3rdparty/ippicv/ippicv_lnx/lib/intel64/libippicv.a /usr/local/lib/ | |
sudo cp /usr/local/share/OpenCV/3rdparty/lib/libippicv.a /usr/local/lib/ | |
ishlamadi: | |
sudo ln -s file:///usr/local/share/OpenCV/3rdparty/lib/libippicv.a |
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
1. switching nvidia to persistend mode | |
sudo nvidia-smi -i 0,1,2,3 -pm ENABLED | |
2. limiting nvidia gpu power usage | |
sudo nvidia-smi -pl 200 | |
here you can put some value in wat instead of 200 |
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
#include <iostream> | |
#include <caffe/caffe.hpp> | |
#include <opencv2/opencv.hpp> | |
#include <opencv2/dnn.hpp> | |
int main(int argc, char** argv) { | |
// Load input image. | |
cv::Mat inputMat = cv::imread("accordion.jpg"); | |
inputMat.convertTo(inputMat, CV_32F); // Cast to floats | |
cv::resize(inputMat, inputMat, cv::Size(227, 227)); // Resize. |