Skip to content

Commit 7c24278

Browse files
committed
Update Pilot2 to use candle_lib.
1 parent 59b0a1d commit 7c24278

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

Pilot2/P2B1/p2b1.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
from importlib import reload
2121

2222
file_path = os.path.dirname(os.path.realpath(__file__))
23-
lib_path2 = os.path.abspath(os.path.join(file_path, '..', '..', 'common'))
24-
sys.path.append(lib_path2)
2523

2624
import helper
2725
import random

Pilot2/P2B1/p2b1_AE_models.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,8 @@
99
from tensorflow.keras.regularizers import l2
1010

1111
import os
12-
import sys
1312

1413
file_path = os.path.dirname(os.path.realpath(__file__))
15-
lib_path = os.path.abspath(os.path.join(file_path, '..', 'common'))
16-
sys.path.append(lib_path)
17-
lib_path2 = os.path.abspath(os.path.join(file_path, '..', '..', 'common'))
18-
sys.path.append(lib_path2)
1914

2015

2116
def full_conv_mol_auto(bead_k_size=20, mol_k_size=12, weights_path=None, input_shape=(1, 784),

Pilot2/P2B1/p2b1_baseline_keras2.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212

1313
TIMEOUT = 3600 # in sec; set this to -1 for no timeout
1414
file_path = os.path.dirname(os.path.realpath(__file__))
15-
# lib_path = os.path.abspath(os.path.join(file_path, '..', 'common'))
16-
# sys.path.append(lib_path)
17-
lib_path2 = os.path.abspath(os.path.join(file_path, '..', '..', 'common'))
18-
sys.path.append(lib_path2)
1915

2016
from tensorflow.keras import backend as K
2117

0 commit comments

Comments
 (0)