|
|
56c7459 |
diff -up ./tools/easy.py.toolsDir ./tools/easy.py
|
|
|
1637d3c |
--- ./tools/easy.py.toolsDir 2021-04-14 09:22:41.387871661 -0600
|
|
|
1637d3c |
+++ ./tools/easy.py 2021-04-14 09:23:39.967736875 -0600
|
|
|
56c7459 |
@@ -12,10 +12,10 @@ if len(sys.argv) <= 1:
|
|
|
1637d3c |
|
|
|
56c7459 |
is_win32 = (sys.platform == 'win32')
|
|
|
56c7459 |
if not is_win32:
|
|
|
1637d3c |
- svmscale_exe = "../svm-scale"
|
|
|
1637d3c |
- svmtrain_exe = "../svm-train"
|
|
|
1637d3c |
- svmpredict_exe = "../svm-predict"
|
|
|
1637d3c |
- grid_py = "./grid.py"
|
|
|
1637d3c |
+ svmscale_exe = "/usr/bin/svm-scale"
|
|
|
1637d3c |
+ svmtrain_exe = "/usr/bin/svm-train"
|
|
|
1637d3c |
+ svmpredict_exe = "/usr/bin/svm-predict"
|
|
|
1637d3c |
+ grid_py = "/usr/bin/svm-grid.py"
|
|
|
1637d3c |
gnuplot_exe = "/usr/bin/gnuplot"
|
|
|
56c7459 |
else:
|
|
|
56c7459 |
# example for windows
|
|
|
56c7459 |
diff -up ./tools/grid.py.toolsDir ./tools/grid.py
|
|
|
1637d3c |
--- ./tools/grid.py.toolsDir 2021-04-14 09:22:41.387871661 -0600
|
|
|
1637d3c |
+++ ./tools/grid.py 2021-04-14 09:24:16.887651925 -0600
|
|
|
0f3e08b |
@@ -18,7 +18,7 @@ class GridOption:
|
|
|
1637d3c |
def __init__(self, dataset_pathname, options):
|
|
|
1637d3c |
dirname = os.path.dirname(__file__)
|
|
|
1637d3c |
if sys.platform != 'win32':
|
|
|
1637d3c |
- self.svmtrain_pathname = os.path.join(dirname, '../svm-train')
|
|
|
1637d3c |
+ self.svmtrain_pathname = '/usr/bin/svm-train'
|
|
|
1637d3c |
self.gnuplot_pathname = '/usr/bin/gnuplot'
|
|
|
1637d3c |
else:
|
|
|
1637d3c |
# example for windows
|