aimodelshare 0.1.6__py3-none-any.whl → 0.1.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aimodelshare might be problematic. Click here for more details.

aimodelshare/aimsonnx.py CHANGED
@@ -78,7 +78,7 @@ import warnings
78
78
  from pathlib import Path
79
79
  import time
80
80
  import signal
81
- import scikeras
81
+ from scikeras.wrappers import KerasClassifier, KerasRegressor
82
82
 
83
83
 
84
84
  absl.logging.set_verbosity(absl.logging.ERROR)
@@ -562,8 +562,7 @@ def _keras_to_onnx(model, transfer_learning=None,
562
562
  if isinstance(model, sklearn.pipeline.Pipeline):
563
563
  model = model.steps[-1][1]
564
564
 
565
- sklearn_wrappers = (scikeras.wrappers.KerasClassifier,
566
- scikeras.wrappers.KerasRegressor)
565
+ sklearn_wrappers = (KerasClassifier,KerasRegressor)
567
566
 
568
567
  if isinstance(model, sklearn_wrappers):
569
568
  model = model.model
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aimodelshare
3
- Version: 0.1.6
3
+ Version: 0.1.8
4
4
  Summary: Deploy locally saved machine learning models to a live rest API and web-dashboard. Share it with the world via modelshare.org
5
5
  Home-page: https://www.modelshare.org
6
6
  Author: Michael Parrott
@@ -1,6 +1,6 @@
1
1
  aimodelshare/README.md,sha256=_OMdUIeIYZnpFlKdafM1KNWaANO2nWdx0QpLE_ZC-Qs,2014
2
2
  aimodelshare/__init__.py,sha256=CS0iFxgAic21gBcQE6NSZ-D_ElHw80_A3OWrEYo9Dks,539
3
- aimodelshare/aimsonnx.py,sha256=ZTN0XvOQIInz89eDxWje9JCEo2g1wSCB-KYCQdiudY0,69328
3
+ aimodelshare/aimsonnx.py,sha256=6lrF-AnxNXqvpWurmbxYGvP3EXH09VkQSpZUqU-k0yw,69317
4
4
  aimodelshare/api.py,sha256=XgFu30Cabh1G5MxU2ToALt4qp69XjwXJ4KZvIWtF3Zw,34935
5
5
  aimodelshare/aws.py,sha256=Ujhqgc1tpqdBVj5RCB_udTBt1lth4EZeLYgLU-dmu78,15188
6
6
  aimodelshare/aws_client.py,sha256=Ce19iwf69BwpuyyJlVN8z1da3c5jf93svsTgx1OWhaA,6784
@@ -143,8 +143,8 @@ aimodelshare/sam/template.txt,sha256=JKSvEOZNaaLalHSx7r9psJg_6LLCb0XLAYi1-jYPu3M
143
143
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
144
144
  tests/test_aimsonnx.py,sha256=-GOF1_qXGQaMxHyqK0GPg7dD1meE-S7CZea4pLmBDTk,3906
145
145
  tests/test_playground.py,sha256=vdFWPRrZNQ2poiBOoN3l7HsXB5yc3p3rrrclNYJHnaw,24574
146
- aimodelshare-0.1.6.dist-info/LICENSE,sha256=JXBYLriXYgTloZs-9CJPZY76dqkuDT5df_HghMnljx8,1134
147
- aimodelshare-0.1.6.dist-info/METADATA,sha256=ERbresrodmHKxDACsUmmz2e8yfjbmMixXevaiHocxjQ,3303
148
- aimodelshare-0.1.6.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
149
- aimodelshare-0.1.6.dist-info/top_level.txt,sha256=2KJgeHQ0BmZuilB75J203i7W4vri6CON2kdbwk9BNpU,19
150
- aimodelshare-0.1.6.dist-info/RECORD,,
146
+ aimodelshare-0.1.8.dist-info/LICENSE,sha256=JXBYLriXYgTloZs-9CJPZY76dqkuDT5df_HghMnljx8,1134
147
+ aimodelshare-0.1.8.dist-info/METADATA,sha256=pi69sarbkPKh5K0rHwHHqfdxZXz4pGOKTHI5z-bu7ak,3303
148
+ aimodelshare-0.1.8.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
149
+ aimodelshare-0.1.8.dist-info/top_level.txt,sha256=2KJgeHQ0BmZuilB75J203i7W4vri6CON2kdbwk9BNpU,19
150
+ aimodelshare-0.1.8.dist-info/RECORD,,