Skip to content

Instantly share code, notes, and snippets.

🐳
Deep Learning, Data, Algorithm, and Game

Chanchana Sornsoontorn off99555

🐳
Deep Learning, Data, Algorithm, and Game
Block or report user

Report or block off99555

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View using-tensorflow-object-detection-api-windows-10.md

Using TensorFlow Object Detection API on Windows 10

  1. Install TensorFlow 1.14 (not 2)
  2. Download https://github.com/tensorflow/models/ repository
  3. Add models/, models/research/, and models/research/slim/ to the PYTHONPATH variable.
  4. Install pycocotoolsfrom this clone (works with Windows): https://github.com/philferriere/cocoapi
  5. Follow installation guide from https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md (Except the cocoapi part)
  6. Download https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10 for inference script in webcam and TFRecord data generator script
  7. Mainly, try to follow this local training guide and fix the bug one by one by providing the requirements: https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/running_locally.md
@off99555
off99555 / install-tensorflow-gpu-windows.md
Last active Oct 22, 2019
How to install TensorFlow GPU on Windows without installing CUDA Toolkit manually and ensure training speedup
View install-tensorflow-gpu-windows.md

Installation

Follow this guide to install TensorFlow GPU on Windows (without the need to manually install CUDA Toolkit): https://www.pugetsystems.com/labs/hpc/How-to-Install-TensorFlow-with-GPU-Support-on-Windows-10-Without-Installing-CUDA-UPDATED-1419 CUDA will be installed for you automatically using Anaconda.

Or just follow the Fast Instructions I wrote below.

If you want to install CUDA toolkit on your own, or if you want to install the latest tensorflow version, then you need to follow official installation guide.

Fast Instructions

@off99555
off99555 / visual-studio-summary.md
Last active Aug 27, 2019
Short Summary of (some language) development in Visual Studio
View visual-studio-summary.md

Building and using DLL in Visual C++

  1. Create a library project to build DLL file. You will get .lib, .dll, and .h files.

  2. Create another project to use the DLL file. Then follow steps 2 to 6 on this project. You need to tell Visual Studio where to find the header files and library files via its Properties window.

  3. Go to project Properties > C/C++ > General and set Additional Include Directories to directory for header files (.h). (Or you can just copy the header files into your project.)

    If you build the project, you will get error LNK2019: unresolved external symbol because there is no library file yet.

@off99555
off99555 / bfg.bat
Last active Jan 3, 2019
Alias file for git-bfg repo cleaner
View bfg.bat
:: Put this file and `bfg.jar` into a dedicated folder for aliases like `C:\Aliases`.
:: And ensure that you add the folder path to `PATH` environment variable.
:: Then you would be able to call `bfg` inside command prompt.
@echo off
echo.
java -jar %~dp0\bfg.jar %*
@off99555
off99555 / look-within.md
Last active Jun 16, 2018
Looking within for the answers; Spiritual Awakening; Self Development; Self-help; Finding Truth; Happiness; Energy Psychology; Healing;
View look-within.md

Resources for obtaining clarity, purpose, career, health, wealth, happiness, peace, joy, loving relationships, abundance, success, and freedom of your life by looking within.

The Truth About Human Life

  • Thoughts are the language of the mind. Emotions are the language of the body. When they are not in alignment, you will usually beat yourself up because you feel like you cannot control your own thoughts. Thoughts are always powerless compared to your emotions. How you feel is the truth for you. No matter how logical or reasonable you are, you are operating from your emotions. Because the subconscious mind has 95% control over your body. Your conscious mind has only 5%. And those 95% are feelings. It always win. Do not fight it. You will lose. You need a better strategy. (Read The Power of Now if you want more info)
  • You can choose to not believe thoughts and feelings that arise if they do not benefit you. They are not yours. T
View something.py
import pandas as pd
import numpy as np
import pymysql
from sqlalchemy import create_engine
import matplotlib.pyplot as plt
import os.path
# set this to True to force download database using SQL,
# else {if `datafile` exists, load it. else download from database}
download = False
@off99555
off99555 / resistance_training_guide.md
Last active Jun 4, 2019
No bullsh*t resistance training and diet guide for improving your physique and performance. To obtain spectacular changes, we must train both your body and your mind.
View resistance_training_guide.md

Resistance training introduction

Resistance training A.K.A. strength training A.K.A. weight training is done by lifting weights in the gym or using bodyweight in order to improve your physique and performance.

The physique goal might be to gain muscle, lose fat, or maintain your weight.

The performance goal might be to improve strength, endurance, cardiovascularity, power, or technical showoff.

NOTE: I also talk about diet. I'm showing you how to improve your physique in scientifically proven ways. After reading this open-mindedly, you are going to be able to manipulate your bodyweight like crazy.

I also talk about how to eliminate excuses and difficulty for going to the gym. I'll show you how you can train your mind to be a new person.

@off99555
off99555 / git_course_draft.md
Last active Jul 20, 2017
Git & GitHub course outline draft
View git_course_draft.md

What will I learn ?

  • การติดตั้ง Git
  • การใช้งาน Git เบื้องต้น เพื่อการจัดการเวอร์ชันโปรแกรมของเรา
  • การใช้เว็บไซต์ GitHub
  • การอัพโหลดโปรเจ็ค Git ขึ้นสู่ GitHub เพื่อใช้งานร่วมกับคนอื่น
  • การใช้คำสั่งมีประโยชน์ต่างๆ เช่น git blame, git bisect, ...

Requirements

  • มีความคุ้นเคยกับโค้ดโปรแกรม (ไม่จำเป็นต้องเขียนเป็น)
  • มีความกระตือรือร้นที่จะฝึกฝนทักษะ, ถาม, และค้นหา
View fuzzy-set-trainer-output.txt
Data: [ 70. 91. 52. 67. 80. 93. 74. 40. 89. 45. 61. 82.
96. 50. 64. 85. 100. 56. 98. 41. 87. 68. 43. 65.
75. 62. 54. 47. 48. 72.]
===Beginning Parameters===
Group 1; MEAN = 45.00, SD = 3.00
Group 2; MEAN = 65.00, SD = 3.00
Group 3; MEAN = 85.00, SD = 3.00
Reading 70.0
This data is in group 2
MEAN: 66.6666666667 SD: 4.8218253805
You can’t perform that action at this time.