19 lines
946 B
Python
19 lines
946 B
Python
import os
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
folder = '/home/workspace/local-data/train'
|
|
out_folder = '/home/workspace/local-data/train'
|
|
ids = os.listdir(folder + '/mesh_posed')
|
|
|
|
count = 0
|
|
step = 15000
|
|
|
|
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.py -f ' + folder + ' -s ' + str(count) + ' -e ' + str(count + step) + ' -n ' + 'curv_gen_50_train_nons_' + str(count) + '_' + str(count+step) + ' > nohup/curv_gen_50_train_nons_' + 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
|