Skip to content

Instantly share code, notes, and snippets.

View chongzhou96's full-sized avatar

Chong Zhou chongzhou96

View GitHub Profile
@chongzhou96
chongzhou96 / download.py
Created December 7, 2019 00:39 — forked from fanyix/download.py
download using aria2c
###################################################################################
## Download (EPIC)
###################################################################################
import os
import math
import argparse
# params
save_dir = '/home/fanyix/code/lfb/data/epic/downloads'
@chongzhou96
chongzhou96 / launcher.py
Created December 7, 2019 00:39 — forked from fanyix/launcher.py
Launching script
import subprocess
import os
import numpy as np
import time
# number of procs
file = 'download.py'
sleep_time = 5
proc_N = 8
# gpu_id = np.array([0,1,2,3,0,1,2,3,0,1,2,3])