This file contains 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
# read .tex file and extract all filenames that have .png, .jpg, .jpeg, and .eps | |
# delete all other files in ./figures/* | |
import re | |
import os | |
import glob | |
SUFFIX = 'png|jpg|jpeg|eps|JPEG|JPG' | |
def extract_filenames(fname): |
This file contains 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 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
from selenium import webdriver | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support import expected_conditions as EC | |
import requests | |
import os | |
def download_all_papers(base_url, save_dir, driver_path): | |
driver = webdriver.Chrome(driver_path) |
This file contains 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
Link to my github DDPG algorithm: https://github.com/JunhongXu/Reinforcement-Learning-Tensorflow |