Skip to content

Commit

Permalink
Fix example script errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbieker committed Oct 25, 2018
1 parent bf22562 commit 9cdf6ad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/energy.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
energy_generator_configuration = {
'seed': 1337,
'batch_size': 64,
'input': 'gamma.hdf5',
'input': '../gamma.hdf5',
'start_slice': 0,
'number_slices': 25,
'train_fraction': 0.6,
Expand Down
4 changes: 2 additions & 2 deletions examples/separation.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
separation_generator_configuration = {
'seed': 1337,
'batch_size': 32,
'input': 'gamma.hdf5',
'second_input': 'proton.hdf5',
'input': '../gamma.hdf5',
'second_input': '../proton.hdf5',
'start_slice': 0,
'number_slices': 25,
'train_fraction': 0.6,
Expand Down
4 changes: 2 additions & 2 deletions examples/source_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
base_dir = "../ihp-pc41.ethz.ch/public/phs/"
obs_dir = [base_dir + "public/"]
gamma_dir = [base_dir + "sim/gamma/"]
gamma_dl2 = "gamma_simulations_diffuse_facttools_dl2.hdf5"
gamma_dl2 = "../gamma_simulations_diffuse_facttools_dl2.hdf5"

shape = [35,60]
rebin_size = 10
Expand All @@ -26,7 +26,7 @@
source_generator_configuration = {
'seed': 1337,
'batch_size': 32,
'input': 'gamma_diffuse.hdf5',
'input': '../gamma_diffuse.hdf5',
'start_slice': 0,
'number_slices': 25,
'train_fraction': 0.6,
Expand Down

0 comments on commit 9cdf6ad

Please sign in to comment.