Skip to content
Snippets Groups Projects
Commit 28e1da54 authored by Daniel Guderian's avatar Daniel Guderian
Browse files

change to fixed 1GB ram use in shuffle scripts

parent 258c9a76
No related branches found
No related tags found
1 merge request!14revive make_data_split
......@@ -357,7 +357,7 @@ def make_concatenate_and_shuffle_scripts(cfg):
f.write('\n')
f.write('# Shuffle the h5 file \n')
f.write('h5shuffle2 ' + conc_outputfile_fpath + ' --max_ram 2000000000 \n') #fix to 2GB ram; in lyon using a fraction
f.write('h5shuffle2 ' + conc_outputfile_fpath + ' --max_ram 1000000000 \n') #fix to 1GB ram; in lyon using a fraction
#is difficult...
#time python shuffle/shuffle_h5.py'
#+ delete_flag_shuffle_tool
......
......@@ -41,7 +41,7 @@ class TestMakeDataSplit(TestCase):
cls.file_path_list_val = ['processed_data_neutrino/processed_graph_neutrino.h5','processed_data_neutrino/processed_graph_neutrino.h5\n']
cls.n_events_list = [18,3]
cls.contents_concatenate_script = ['concatenate ' + list_output_train + ' --outfile ' + concatenate_file]
cls.contents_shuffle_script = ['h5shuffle2 ' + concatenate_file + ' --max_ram 2000000000 \n']
cls.contents_shuffle_script = ['h5shuffle2 ' + concatenate_file + ' --max_ram 1000000000 \n']
#create list_file_dir
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment