19 lines
993 B
Python
19 lines
993 B
Python
import os
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
folder = '/home/workspace/local-data/cape/train/male'
|
|
out_folder = '/home/workspace/local-data/cape_processed/train/male'
|
|
ids = os.listdir(folder)
|
|
|
|
count = 0
|
|
step = 1
|
|
|
|
while count < len(ids):
|
|
# os.system('nohup python MeshUtils/curvature_labels.py -f ' + folder + ' -s ' + str(count) + ' -e ' + str(count + step) + ' -n ' + 'curv_train_' + str(count) + '_' + str(count+step) + ' > curv_train_' + str(count) + '_' + str(count+step) + '.out' + ' 2>&1 &')
|
|
os.system('nohup python curvature_labels_cape.py -if ' + folder + ' -of ' + out_folder + ' -s ' + str(count) + ' -e ' + str(count + step) + ' -n ' + 'curv_gen_2_cape_train_male_' + str(count) + '_' + str(count+step) + ' > nohup/curv_gen_2_cape_train_male_' + str(count) + '_' + str(count+step) + '.out' + ' 2>&1 &')
|
|
# os.system('python Data/convert_to_uv.py -f ' + folder + ' -s ' + str(count) + ' -e ' + str(count + step) + '')
|
|
count += step
|