File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 29
29
${{ runner.os }}-pip-
30
30
- name : Install dependencies
31
31
run : |
32
- pip install -e ".[tests]" --progress-bar off --upgrade
32
+ pip install -e ".[tests]" --progress-bar off
33
33
- name : Test with pytest
34
34
run : |
35
35
pytest --cov=autokeras --cov-report xml:coverage.xml
Original file line number Diff line number Diff line change @@ -117,10 +117,10 @@ def get_output_layer(tensor):
117
117
for layer in model .layers :
118
118
if isinstance (layer , tf .keras .layers .InputLayer ):
119
119
continue
120
- if not isinstance (layer , preprocessing .PreprocessingLayer ):
121
- break
122
120
input_node = nest .flatten (layer .input )[0 ]
123
121
if input_node is tensor :
122
+ if not isinstance (layer , preprocessing .PreprocessingLayer ):
123
+ break
124
124
return layer
125
125
return None
126
126
Original file line number Diff line number Diff line change 21
21
install_requires = [
22
22
"packaging" ,
23
23
"keras-tuner>=1.0.2" ,
24
- "tensorflow>=2.3.0" ,
24
+ "tensorflow<=2.5.0, >=2.3.0" ,
25
25
"scikit-learn" ,
26
26
"pandas" ,
27
27
],
You can’t perform that action at this time.
0 commit comments