Skip to content

Commit 7b2b1a6

Browse files
committed
Update Pilot3 Benchmarks to use candle_lib
1 parent 7c24278 commit 7b2b1a6

File tree

11 files changed

+0
-38
lines changed

11 files changed

+0
-38
lines changed

Pilot3/P3B1/p3b1.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@
33
import numpy as np
44

55
import os
6-
import sys
76

87
file_path = os.path.dirname(os.path.realpath(__file__))
9-
lib_path2 = os.path.abspath(os.path.join(file_path, '..', '..', 'common'))
10-
sys.path.append(lib_path2)
118

129
import candle
1310

Pilot3/P3B2/p3b2.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
from __future__ import print_function
22

33
import os
4-
import sys
54

65
file_path = os.path.dirname(os.path.realpath(__file__))
7-
lib_path2 = os.path.abspath(os.path.join(file_path, '..', '..', 'common'))
8-
sys.path.append(lib_path2)
96

107
import candle
118

Pilot3/P3B3/p3b3.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
from __future__ import print_function
22

33
import os
4-
import sys
54

65
file_path = os.path.dirname(os.path.realpath(__file__))
7-
lib_path2 = os.path.abspath(os.path.join(file_path, '..', '..', 'common'))
8-
sys.path.append(lib_path2)
96

107
import candle
118

Pilot3/P3B4/p3b4.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
from __future__ import print_function
22

33
import os
4-
import sys
54

65
file_path = os.path.dirname(os.path.realpath(__file__))
7-
lib_path2 = os.path.abspath(os.path.join(file_path, '..', '..', 'common'))
8-
sys.path.append(lib_path2)
96

107
import candle
118

Pilot3/P3B5/p3b5.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import os
2-
import sys
32

43
file_path = os.path.dirname(os.path.realpath(__file__))
5-
lib_path2 = os.path.abspath(os.path.join(file_path, '..', '..', 'common'))
6-
sys.path.append(lib_path2)
74

85
import candle
96

Pilot3/P3B5/p3b5_darts.py

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

1212

1313
file_path = os.path.dirname(os.path.realpath(__file__))
14-
lib_path = os.path.abspath(os.path.join(file_path, '..'))
15-
sys.path.append(lib_path)
16-
lib_path2 = os.path.abspath(os.path.join(file_path, '..', '..', 'common'))
17-
sys.path.append(lib_path2)
1814

1915

2016
import darts

Pilot3/P3B5/test.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
import os
2-
import sys
32

43

54
file_path = os.path.dirname(os.path.realpath(__file__))
6-
lib_path = os.path.abspath(os.path.join(file_path, '..'))
7-
sys.path.append(lib_path)
8-
lib_path2 = os.path.abspath(os.path.join(file_path, '..', '..', 'common',))
9-
sys.path.append(lib_path2)
10-
115

126
import darts
137

14-
158
print(darts.Architecture)
169
print(darts.ConvNetwork)

Pilot3/P3B6/p3b6.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import os
2-
import sys
32

43
file_path = os.path.dirname(os.path.realpath(__file__))
5-
lib_path2 = os.path.abspath(os.path.join(file_path, '..', '..', 'common'))
6-
sys.path.append(lib_path2)
74

85
import candle
96

Pilot3/P3B7/p3b7.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import os
2-
import sys
32

43
file_path = os.path.dirname(os.path.realpath(__file__))
5-
lib_path2 = os.path.abspath(os.path.join(file_path, '..', '..', 'common'))
6-
sys.path.append(lib_path2)
74

85
import candle
96

Pilot3/P3B8/p3b8.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import os
2-
import sys
32

43
file_path = os.path.dirname(os.path.realpath(__file__))
5-
lib_path2 = os.path.abspath(os.path.join(file_path, '..', '..', 'common'))
6-
sys.path.append(lib_path2)
74

85
import candle
96

0 commit comments

Comments
 (0)