Skip to content

Commit 41010ef

Browse files
committed
Update run_hyper_search.py
1 parent 9c5afe6 commit 41010ef

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

run_hyper_search.py

-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
import argparse
22
import sys
33
import os
4-
from os.path import abspath, dirname
54

65
from ray import tune
76

87
from mwptoolkit.hyper_search import hyper_search_process
98
from mwptoolkit.utils.utils import read_json_data
109

1110

12-
print (abspath(dirname(__file__)))
13-
x=os.getcwd()
14-
x1=os.path.join(os.getcwd(), ".")
15-
x2=os.path.abspath(os.path.join(os.getcwd(), "."))
1611
sys.path.insert(0, os.path.abspath(os.path.join(os.getcwd(), ".")))
1712

1813
if __name__ == '__main__':
@@ -22,7 +17,6 @@
2217
parser.add_argument('--task_type', '-t', type=str, default='single_equation', help='name of tasks')
2318
parser.add_argument('--search_parameter', '-s', type=str, action='append', default=[])
2419
parser.add_argument('--search_file','-f',type=str,default=None)
25-
#parser.add_argument('--config_files', type=str, default=None, help='config files')
2620

2721
args, _ = parser.parse_known_args()
2822
config_dict = {}

0 commit comments

Comments
 (0)