Skip to content

Commit

Permalink
programmatically create train folder
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelovca90 committed Jun 28, 2022
1 parent 8a85068 commit 56e32c9
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions experiments/scenario-9-sbrt-timed-08M/baseline/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import sys
import tensorflow as tf_tmp
import timeit
import os
#get_ipython().run_line_magic('matplotlib', 'inline')
print(K.backend())

Expand Down Expand Up @@ -263,6 +264,8 @@ def polar_transform_iter(u):
dump['meta']['start_time'] = datetime.now().strftime('%Y-%m-%dT%H:%M:%S')
dump['exec'] = {}

os.makedirs(f"./train", exist_ok=True)

for code in codes:

train_SNR_Es = train_SNR_Eb[code] + 10*np.log10(k/N)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import sys
import tensorflow as tf_tmp
import timeit
import os
#get_ipython().run_line_magic('matplotlib', 'inline')
print(K.backend())

Expand Down Expand Up @@ -263,6 +264,8 @@ def polar_transform_iter(u):
dump['meta']['start_time'] = datetime.now().strftime('%Y-%m-%dT%H:%M:%S')
dump['exec'] = {}

os.makedirs(f"./train", exist_ok=True)

for code in codes:

train_SNR_Es = train_SNR_Eb[code] + 10*np.log10(k/N)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import sys
import tensorflow as tf_tmp
import timeit
import os
#get_ipython().run_line_magic('matplotlib', 'inline')
print(K.backend())

Expand Down Expand Up @@ -263,6 +264,8 @@ def polar_transform_iter(u):
dump['meta']['start_time'] = datetime.now().strftime('%Y-%m-%dT%H:%M:%S')
dump['exec'] = {}

os.makedirs(f"./train", exist_ok=True)

for code in codes:

train_SNR_Es = train_SNR_Eb[code] + 10*np.log10(k/N)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import sys
import tensorflow as tf_tmp
import timeit
import os
#get_ipython().run_line_magic('matplotlib', 'inline')
print(K.backend())

Expand Down Expand Up @@ -263,6 +264,8 @@ def polar_transform_iter(u):
dump['meta']['start_time'] = datetime.now().strftime('%Y-%m-%dT%H:%M:%S')
dump['exec'] = {}

os.makedirs(f"./train", exist_ok=True)

for code in codes:

train_SNR_Es = train_SNR_Eb[code] + 10*np.log10(k/N)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import sys
import tensorflow as tf_tmp
import timeit
import os
#get_ipython().run_line_magic('matplotlib', 'inline')
print(K.backend())

Expand Down Expand Up @@ -263,6 +264,8 @@ def polar_transform_iter(u):
dump['meta']['start_time'] = datetime.now().strftime('%Y-%m-%dT%H:%M:%S')
dump['exec'] = {}

os.makedirs(f"./train", exist_ok=True)

for code in codes:

train_SNR_Es = train_SNR_Eb[code] + 10*np.log10(k/N)
Expand Down
3 changes: 3 additions & 0 deletions experiments/scenario-9-sbrt-timed-16M/baseline/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import sys
import tensorflow as tf_tmp
import timeit
import os
#get_ipython().run_line_magic('matplotlib', 'inline')
print(K.backend())

Expand Down Expand Up @@ -263,6 +264,8 @@ def polar_transform_iter(u):
dump['meta']['start_time'] = datetime.now().strftime('%Y-%m-%dT%H:%M:%S')
dump['exec'] = {}

os.makedirs(f"./train", exist_ok=True)

for code in codes:

train_SNR_Es = train_SNR_Eb[code] + 10*np.log10(k/N)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import sys
import tensorflow as tf_tmp
import timeit
import os
#get_ipython().run_line_magic('matplotlib', 'inline')
print(K.backend())

Expand Down Expand Up @@ -263,6 +264,8 @@ def polar_transform_iter(u):
dump['meta']['start_time'] = datetime.now().strftime('%Y-%m-%dT%H:%M:%S')
dump['exec'] = {}

os.makedirs(f"./train", exist_ok=True)

for code in codes:

train_SNR_Es = train_SNR_Eb[code] + 10*np.log10(k/N)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import sys
import tensorflow as tf_tmp
import timeit
import os
#get_ipython().run_line_magic('matplotlib', 'inline')
print(K.backend())

Expand Down Expand Up @@ -263,6 +264,8 @@ def polar_transform_iter(u):
dump['meta']['start_time'] = datetime.now().strftime('%Y-%m-%dT%H:%M:%S')
dump['exec'] = {}

os.makedirs(f"./train", exist_ok=True)

for code in codes:

train_SNR_Es = train_SNR_Eb[code] + 10*np.log10(k/N)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import sys
import tensorflow as tf_tmp
import timeit
import os
#get_ipython().run_line_magic('matplotlib', 'inline')
print(K.backend())

Expand Down Expand Up @@ -263,6 +264,8 @@ def polar_transform_iter(u):
dump['meta']['start_time'] = datetime.now().strftime('%Y-%m-%dT%H:%M:%S')
dump['exec'] = {}

os.makedirs(f"./train", exist_ok=True)

for code in codes:

train_SNR_Es = train_SNR_Eb[code] + 10*np.log10(k/N)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import sys
import tensorflow as tf_tmp
import timeit
import os
#get_ipython().run_line_magic('matplotlib', 'inline')
print(K.backend())

Expand Down Expand Up @@ -263,6 +264,8 @@ def polar_transform_iter(u):
dump['meta']['start_time'] = datetime.now().strftime('%Y-%m-%dT%H:%M:%S')
dump['exec'] = {}

os.makedirs(f"./train", exist_ok=True)

for code in codes:

train_SNR_Es = train_SNR_Eb[code] + 10*np.log10(k/N)
Expand Down

0 comments on commit 56e32c9

Please sign in to comment.