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 | |
# | |
# pyTorch install script for NVIDIA Jetson TX1/TX2, | |
# from a fresh flashing of JetPack 2.3.1 / JetPack 3.0 / JetPack 3.1 | |
# | |
# for the full source, see jetson-reinforcement repo: | |
# https://github.com/dusty-nv/jetson-reinforcement/blob/master/CMakePreBuild.sh | |
# | |
# note: pyTorch documentation calls for use of Anaconda, | |
# however Anaconda isn't available for aarch64. |
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
# -*- coding: utf-8 -*- | |
import numpy as np | |
import os | |
import cv2 | |
import pandas as pd | |
from sklearn.cross_validation import train_test_split | |
from keras.models import Sequential | |
from keras.layers.core import Dense, Dropout, Activation, Flatten | |
from keras.layers.convolutional import Convolution2D |
OlderNewer