
cd BASE_DIR # directory where the run.py is situated

# make the data
cd ./DATA/skin_nonskin/
bash make_data.sh




cd BASE_DIR # directory where the run.py is situated

#1. create centering.npz file : this has feature wise mean and std so that the data can be centered
./run.py --config ./train_configs/skin_nonskin/stats.yml &

#2.  create a sketch 
./run.py --config ./train_configs/skin_nonskin/sketch_configs/psketch.R1.B0.01.H5000.P0.yml &

#3.  use the sketch to sample points and dump them
./run.py --config ./train_configs/skin_nonskin/sample_configs/psample.R1.B0.01.H5000.P0.yml &

#4.  train a sample MLP with sampled points
./run.py --config ./train_configs/skin_nonskin/train_configs/ptrain.R1.B0.01.H5000.P0.yml 

# check size of the actual sketch that is sufficient for sampling
python3 ./scripts/actual_size.py  ./DATA/skin_nonskin/record/sketch.D3.R1.B0.01.H5000.P0.pickle


you can use 
cd ./train_configs/skin_nonskin/
# modify setup_hyptuning.sh update the BASE_DIR to where run.py is
bash setup_hyptuning.sh # to generate different configs files . The run files are genearted in pr_sketch.sh pr_sample.sh pr_train.sh in folder ./train_configs/skin_nonskin/
Then use the command lines above
