Commit 376527aa authored by Martin Řepa's avatar Martin Řepa

Next experiments, stderr is normal

parent 0005f75a
...@@ -139,6 +139,5 @@ if __name__ == "__main__": ...@@ -139,6 +139,5 @@ if __name__ == "__main__":
log_file = f'{base_dir}/log' log_file = f'{base_dir}/log'
with open(log_file, 'a') as log: with open(log_file, 'a') as log:
sys.stderr = log
sys.stdout = log sys.stdout = log
main(experiment_conf, base_dir) main(experiment_conf, base_dir)
...@@ -139,7 +139,6 @@ if __name__ == "__main__": ...@@ -139,7 +139,6 @@ if __name__ == "__main__":
log_file = f'{base_dir}/log' log_file = f'{base_dir}/log'
with open(log_file, 'a') as log: with open(log_file, 'a') as log:
sys.stderr = log
sys.stdout = log sys.stdout = log
main(experiment_conf, base_dir) main(experiment_conf, base_dir)
......
experiments_per_setup: 8 # 6 experiments_per_setup: 8 # 6
legacy_folder: /home/ignac/experiments/learning_epochs/2000to14000by4000_8times # Change in regards with configuration legacy_folder: /home/ignac/experiments/learning_epochs/18000to30000by4000_8times # Change in regards with configuration
epochs: epochs:
lower_bound: 2000 lower_bound: 18000
number_of_steps: 4 # 8 (6-8 should be enough) number_of_steps: 4 # 8 (6-8 should be enough)
upper_bound: 14000 # 30000 upper_bound: 30000 # 30000
conf: conf:
i_a: 1 i_a: 1
i_d: 3 i_d: 3
......
...@@ -177,7 +177,6 @@ if __name__ == "__main__": ...@@ -177,7 +177,6 @@ if __name__ == "__main__":
log_file = f'{base_dir}/log' log_file = f'{base_dir}/log'
with open(log_file, 'a') as log: with open(log_file, 'a') as log:
sys.stderr = log
sys.stdout = log sys.stdout = log
main(experiment_conf, base_dir) main(experiment_conf, base_dir)
# main(experiment_conf, base_dir) # main(experiment_conf, base_dir)
...@@ -200,7 +200,6 @@ if __name__ == "__main__": ...@@ -200,7 +200,6 @@ if __name__ == "__main__":
log_file = f'{legacy_folder}/log' log_file = f'{legacy_folder}/log'
with open(log_file, 'a') as log: with open(log_file, 'a') as log:
sys.stderr = log
sys.stdout = log sys.stdout = log
main() main()
...@@ -216,6 +216,6 @@ if __name__ == "__main__": ...@@ -216,6 +216,6 @@ if __name__ == "__main__":
log_file = f'{legacy_folder}/log' log_file = f'{legacy_folder}/log'
with open(log_file, 'a') as log: with open(log_file, 'a') as log:
sys.stderr = log
sys.stdout = log sys.stdout = log
main() main()
# main()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment