Skip to content

Commit a96260e

Browse files
committed
remove deprecated packages
1 parent 8428be7 commit a96260e

File tree

4 files changed

+4
-259
lines changed

4 files changed

+4
-259
lines changed

.github/actions/keras_application_test/action.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,26 @@ runs:
3232
pip install pillow
3333
pip install opencv-python
3434
pip install tqdm
35-
pip install keras-segmentation==0.2.0
3635
git clone https://github.com/matterport/Mask_RCNN
3736
cd Mask_RCNN
3837
pip install -r requirements.txt
3938
python setup.py install
4039
cd ..
4140
pip install matplotlib
4241
git clone https://github.com/qqwweee/keras-yolo3
43-
pip install keras-resnet
4442
pip install git+https://www.github.com/keras-team/keras-contrib.git
4543
pip install keras-tcn==2.8.3
4644
pip install git+https://github.com/qubvel/efficientnet
47-
pip install keras-self-attention
4845
pip install pytest pytest-cov pytest-runner
4946
pip uninstall -y protobuf h5py
5047
5148
if [[ ${{ inputs.tf_version }} == 1.* ]]; then
5249
echo "-- install-1 TF1-KERAS ${{ inputs.tf_version }}"
5350
pip install numpy==1.19.0 tensorflow==${{ inputs.tf_version }} protobuf h5py==2.9.0 transformers==4.2.0 keras h5py
51+
# deprecated packages
52+
pip install keras-self-attention
53+
pip install keras-segmentation==0.2.0
54+
pip install keras-resnet
5455
else
5556
pip install transformers
5657
if [[ "${{ inputs.tf_version }}" != "2.13.0" && "${{ inputs.tf_version }}" != "2.9.0" ]]; then

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,6 @@ model_proto, external_tensor_storage = tf2onnx.convert.from_keras(model,
340340
An ONNX model_proto and an external_tensor_storage dict.
341341
```
342342

343-
See [tutorials/keras-resnet50.ipynb](tutorials/keras-resnet50.ipynb) for an end to end example.
344-
345343
### from_function (tf-2.0 and newer)
346344
```
347345
import tf2onnx

tutorials/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ The following tutorials show how to convert various models to ONNX.
99

1010
[efficientnet-lite](https://github.com/onnx/tensorflow-onnx/blob/main/tutorials/efficientnet-lite.ipynb)
1111

12-
[keras-resnet50](https://github.com/onnx/tensorflow-onnx/blob/main/tutorials/keras-resnet50.ipynb) - shows how to convert a keras model via python api
13-
1412
## Object Detectors
1513
[ssd-mobilenet](https://github.com/onnx/tensorflow-onnx/blob/main/tutorials/ConvertingSSDMobilenetToONNX.ipynb)
1614

tutorials/keras-resnet50.ipynb

Lines changed: 0 additions & 252 deletions
This file was deleted.

0 commit comments

Comments
 (0)