Skip to content

Commit d19458f

Browse files
Merge branch 'dev' of https://github.com/mycroftai/mycroft-precise into dev
2 parents eeda42e + bbf4340 commit d19458f

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

precise/scripts/train_optimize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# limitations under the License.
1515
import numpy
1616
# Optimizer blackhat
17-
from bbopt import BlackBoxOptimizer
1817
from glob import glob
1918
from os import remove
2019
from os.path import isfile, splitext, join
@@ -47,6 +46,7 @@ class TrainOptimizeScript(TrainScript):
4746

4847
def __init__(self, args):
4948
super().__init__(args)
49+
from bbopt import BlackBoxOptimizer
5050
self.bb = BlackBoxOptimizer(file=self.args.trials_name)
5151
if not self.test:
5252
data = TrainData.from_both(self.args.tags_file, self.args.tags_folder, self.args.folder)

requirements.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
absl-py==0.7.1
22
astor==0.7.1
33
attrs==19.1.0
4-
bbopt==1.1.1
54
cycler==0.10.0
65
decorator==4.4.0
76
fitipy==0.1.2
87
future==0.17.1
98
gast==0.2.2
109
grpcio==1.19.0
1110
h5py==2.9.0
12-
hyperopt==0.1.2
1311
Keras==2.2.4
1412
Keras-Applications==1.0.7
1513
Keras-Preprocessing==1.0.9
@@ -18,7 +16,6 @@ Markdown==3.1
1816
matplotlib==3.0.3
1917
mock==2.0.0
2018
-e [email protected]:MycroftAI/mycroft-precise@37ef1ab91eeca81fd889bce2967775b2f6918d97#egg=mycroft_precise
21-
networkx==1.11
2219
numpy==1.16.2
2320
pbr==5.1.3
2421
pocketsphinx==0.1.15

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,15 @@
7474
'tensorflow>=1.13,<1.14', # Must be on piwheels
7575
'sonopy',
7676
'pyaudio',
77-
'keras',
77+
'keras<=2.1.5',
7878
'h5py',
7979
'wavio',
8080
'typing',
8181
'prettyparse>=1.1.0',
8282
'precise-runner',
8383
'attrs',
8484
'fitipy<1.0',
85-
# 'bbopt',
8685
'speechpy-fast',
8786
'pyache'
88-
# 'networkx==1.11',
89-
# 'hyperopt==0.1.2'
9087
]
9188
)

0 commit comments

Comments
 (0)