aimodelshare 0.1.31__tar.gz → 0.1.33__tar.gz

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.

Files changed (158) hide show
  1. {aimodelshare-0.1.31/aimodelshare.egg-info → aimodelshare-0.1.33}/PKG-INFO +11 -28
  2. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/aimsonnx.py +4 -14
  3. {aimodelshare-0.1.31 → aimodelshare-0.1.33/aimodelshare.egg-info}/PKG-INFO +11 -28
  4. aimodelshare-0.1.33/aimodelshare.egg-info/requires.txt +10 -0
  5. aimodelshare-0.1.33/setup.py +39 -0
  6. aimodelshare-0.1.31/aimodelshare.egg-info/requires.txt +0 -27
  7. aimodelshare-0.1.31/setup.py +0 -55
  8. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/LICENSE +0 -0
  9. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/MANIFEST.in +0 -0
  10. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/README.md +0 -0
  11. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/README.md +0 -0
  12. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/__init__.py +0 -0
  13. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/api.py +0 -0
  14. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/aws.py +0 -0
  15. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/aws_client.py +0 -0
  16. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/base_image.py +0 -0
  17. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/bucketpolicy.py +0 -0
  18. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/color_mappings/color_mapping_keras.csv +0 -0
  19. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/color_mappings/color_mapping_pytorch.csv +0 -0
  20. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/containerisation.py +0 -0
  21. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/containerization.py +0 -0
  22. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/containerization_templates/Dockerfile.txt +0 -0
  23. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/containerization_templates/Dockerfile_PySpark.txt +0 -0
  24. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/containerization_templates/buildspec.txt +0 -0
  25. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/containerization_templates/lambda_function.txt +0 -0
  26. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/custom_approach/__init__.py +0 -0
  27. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/custom_approach/lambda_function.py +0 -0
  28. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/custom_eval_metrics.py +0 -0
  29. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/data_sharing/__init__.py +0 -0
  30. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/data_sharing/data_sharing_templates/Dockerfile.txt +0 -0
  31. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/data_sharing/data_sharing_templates/__init__.py +0 -0
  32. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/data_sharing/data_sharing_templates/buildspec.txt +0 -0
  33. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/data_sharing/data_sharing_templates/codebuild_policies.txt +0 -0
  34. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/data_sharing/data_sharing_templates/codebuild_trust_relationship.txt +0 -0
  35. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/data_sharing/download_data.py +0 -0
  36. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/data_sharing/share_data.py +0 -0
  37. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/data_sharing/utils.py +0 -0
  38. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/deploy_custom_lambda.py +0 -0
  39. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/Makefile +0 -0
  40. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/__init__.py +0 -0
  41. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/_version.py +0 -0
  42. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/breadcrumbs.html +0 -0
  43. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/layout.html +0 -0
  44. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/search.html +0 -0
  45. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/searchbox.html +0 -0
  46. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/static/css/custom.css +0 -0
  47. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/static/css/custom.css.map +0 -0
  48. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/static/css/theme.css +0 -0
  49. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/static/css/theme.css.map +0 -0
  50. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/static/css/theme.min.css +0 -0
  51. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/static/css/theme.min.css.map +0 -0
  52. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.eot +0 -0
  53. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.svg +0 -0
  54. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.ttf +0 -0
  55. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.woff +0 -0
  56. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.woff2 +0 -0
  57. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/static/js/theme.js +0 -0
  58. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/karma_sphinx_theme/theme.conf +0 -0
  59. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/make.bat +0 -0
  60. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/requirements.txt +0 -0
  61. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/about.rst +0 -0
  62. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/advanced_features.rst +0 -0
  63. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/competition.rst +0 -0
  64. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/conf.py +0 -0
  65. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/create_credentials.rst +0 -0
  66. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/example_notebooks.rst +0 -0
  67. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/functions.rst +0 -0
  68. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/gettingstarted.rst +0 -0
  69. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/images/creds1.png +0 -0
  70. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/images/creds2.png +0 -0
  71. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/images/creds3.png +0 -0
  72. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/images/creds4.png +0 -0
  73. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/images/creds5.png +0 -0
  74. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/images/creds_file_example.png +0 -0
  75. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/images/predict_tab.png +0 -0
  76. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/index.rst +0 -0
  77. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/documentation/source/modelplayground.rst +0 -0
  78. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/exceptions.py +0 -0
  79. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/generatemodelapi.py +0 -0
  80. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/iam/codebuild_policy.txt +0 -0
  81. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/iam/codebuild_trust_relationship.txt +0 -0
  82. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/iam/lambda_policy.txt +0 -0
  83. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/iam/lambda_trust_relationship.txt +0 -0
  84. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/json_templates/__init__.py +0 -0
  85. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/json_templates/api_json.txt +0 -0
  86. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/json_templates/auth/policy.txt +0 -0
  87. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/json_templates/auth/role.txt +0 -0
  88. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/json_templates/eval/policy.txt +0 -0
  89. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/json_templates/eval/role.txt +0 -0
  90. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/json_templates/function/policy.txt +0 -0
  91. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/json_templates/function/role.txt +0 -0
  92. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/json_templates/integration_response.txt +0 -0
  93. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/json_templates/lambda_policy_1.txt +0 -0
  94. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/json_templates/lambda_policy_2.txt +0 -0
  95. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/json_templates/lambda_role_1.txt +0 -0
  96. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/json_templates/lambda_role_2.txt +0 -0
  97. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/leaderboard.py +0 -0
  98. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/1.txt +0 -0
  99. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/1B.txt +0 -0
  100. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/2.txt +0 -0
  101. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/3.txt +0 -0
  102. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/4.txt +0 -0
  103. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/5.txt +0 -0
  104. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/6.txt +0 -0
  105. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/7.txt +0 -0
  106. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/8.txt +0 -0
  107. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/__init__.py +0 -0
  108. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/authorization.txt +0 -0
  109. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/eval_classification.txt +0 -0
  110. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/eval_lambda.txt +0 -0
  111. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/eval_regression.txt +0 -0
  112. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/lambda_function.txt +0 -0
  113. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/main/nst.txt +0 -0
  114. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/model.py +0 -0
  115. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/modeluser.py +0 -0
  116. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/placeholders/model.onnx +0 -0
  117. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/placeholders/preprocessor.zip +0 -0
  118. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/playground.py +0 -0
  119. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/postprocessormodules.py +0 -0
  120. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/preprocessormodules.py +0 -0
  121. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/1.txt +0 -0
  122. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/1B.txt +0 -0
  123. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/2.txt +0 -0
  124. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/3.txt +0 -0
  125. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/4.txt +0 -0
  126. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/5.txt +0 -0
  127. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/6.txt +0 -0
  128. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/7.txt +0 -0
  129. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/8.txt +0 -0
  130. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/__init__.py +0 -0
  131. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/authorization.txt +0 -0
  132. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/eval_classification.txt +0 -0
  133. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/eval_lambda.txt +0 -0
  134. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/eval_regression.txt +0 -0
  135. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/lambda_function.txt +0 -0
  136. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/pyspark/nst.txt +0 -0
  137. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/python/my_preprocessor.py +0 -0
  138. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/readme.md +0 -0
  139. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/reproducibility.py +0 -0
  140. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/sam/Dockerfile.txt +0 -0
  141. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/sam/Dockerfile_PySpark.txt +0 -0
  142. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/sam/__init__.py +0 -0
  143. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/sam/buildspec.txt +0 -0
  144. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/sam/codebuild_policies.txt +0 -0
  145. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/sam/codebuild_trust_relationship.txt +0 -0
  146. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/sam/codepipeline_policies.txt +0 -0
  147. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/sam/codepipeline_trust_relationship.txt +0 -0
  148. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/sam/spark-class.txt +0 -0
  149. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/sam/template.txt +0 -0
  150. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/tools.py +0 -0
  151. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare/utils.py +0 -0
  152. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare.egg-info/SOURCES.txt +0 -0
  153. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare.egg-info/dependency_links.txt +0 -0
  154. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/aimodelshare.egg-info/top_level.txt +0 -0
  155. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/setup.cfg +0 -0
  156. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/tests/__init__.py +0 -0
  157. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/tests/test_aimsonnx.py +0 -0
  158. {aimodelshare-0.1.31 → aimodelshare-0.1.33}/tests/test_playground.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aimodelshare
3
- Version: 0.1.31
3
+ Version: 0.1.33
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
@@ -11,33 +11,16 @@ Classifier: Operating System :: OS Independent
11
11
  Requires-Python: >=3.7
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: boto3==1.34.69
15
- Requires-Dist: botocore==1.34.69
16
- Requires-Dist: scikit-learn==1.6.0
17
- Requires-Dist: onnx==1.14.1
18
- Requires-Dist: onnxconverter-common==1.14.0
19
- Requires-Dist: regex
20
- Requires-Dist: keras2onnx==1.7.0
21
- Requires-Dist: tensorflow==2.18.0
22
- Requires-Dist: tf2onnx==1.16.1
23
- Requires-Dist: skl2onnx==1.18.0
24
- Requires-Dist: onnxruntime==1.17.1
25
- Requires-Dist: torch==2.6.0
26
- Requires-Dist: pydot==1.4.2
27
- Requires-Dist: importlib-resources==6.1.1
28
- Requires-Dist: onnxmltools==1.11.0
29
- Requires-Dist: Pympler==1.0.1
30
- Requires-Dist: docker==6.1.3
31
- Requires-Dist: wget==3.2
32
- Requires-Dist: PyJWT==2.8.0
33
- Requires-Dist: seaborn==0.13.2
34
- Requires-Dist: astunparse==1.6.3
35
- Requires-Dist: shortuuid==1.0.11
36
- Requires-Dist: psutil==5.9.5
37
- Requires-Dist: pathlib
38
- Requires-Dist: protobuf==3.20.3
39
- Requires-Dist: dill==0.3.7
40
- Requires-Dist: scikeras==0.11.0
14
+ Requires-Dist: boto3
15
+ Requires-Dist: onnx
16
+ Requires-Dist: onnxmltools
17
+ Requires-Dist: onnxruntime
18
+ Requires-Dist: skl2onnx
19
+ Requires-Dist: tf2onnx
20
+ Requires-Dist: wget
21
+ Requires-Dist: shortuuid
22
+ Requires-Dist: Pympler
23
+ Requires-Dist: scikeras
41
24
  Dynamic: author
42
25
  Dynamic: author-email
43
26
  Dynamic: classifier
@@ -647,7 +647,6 @@ def _keras_to_onnx(model, transfer_learning=None,
647
647
  metadata['model_weights'] = pickle.dumps(model.get_weights())
648
648
 
649
649
  # Extract architecture
650
- from aimodelshare.model import keras_unpack, model_summary_keras
651
650
 
652
651
  keras_layers = keras_unpack(model)
653
652
  layers = []
@@ -1105,6 +1104,7 @@ def _get_leaderboard_data(onnx_model, eval_metrics=None):
1105
1104
 
1106
1105
  def _model_summary(meta_dict, from_onnx=False):
1107
1106
  '''Creates model summary table from model metadata dict.'''
1107
+ import io
1108
1108
 
1109
1109
  assert(isinstance(meta_dict, dict)), \
1110
1110
  "Please pass valid metadata dict."
@@ -1113,9 +1113,9 @@ def _model_summary(meta_dict, from_onnx=False):
1113
1113
  "Please make sure model architecture data is included."
1114
1114
 
1115
1115
  if from_onnx == True:
1116
- model_summary = pd.read_json(meta_dict['metadata_onnx']["model_summary"])
1116
+ model_summary = pd.read_json(io.StringIO(meta_dict['metadata_onnx']["model_summary"]))
1117
1117
  else:
1118
- model_summary = pd.read_json(meta_dict["model_summary"])
1118
+ model_summary = pd.read_json(io.StringIO(meta_dict["model_summary"]))
1119
1119
 
1120
1120
  return model_summary
1121
1121
 
@@ -1793,22 +1793,12 @@ def torch_unpack(model):
1793
1793
 
1794
1794
 
1795
1795
  def keras_unpack(model):
1796
-
1797
1796
  layers = []
1798
-
1799
1797
  for module in model.layers:
1800
-
1801
1798
  if isinstance(module, (tf.keras.Model, tf.keras.Sequential)):
1802
-
1803
- layers_out = keras_unpack(module)
1804
-
1805
- layers = layers + layers_out
1806
-
1807
-
1799
+ layers += keras_unpack(module)
1808
1800
  else:
1809
-
1810
1801
  layers.append(module)
1811
-
1812
1802
  return layers
1813
1803
 
1814
1804
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aimodelshare
3
- Version: 0.1.31
3
+ Version: 0.1.33
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
@@ -11,33 +11,16 @@ Classifier: Operating System :: OS Independent
11
11
  Requires-Python: >=3.7
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: boto3==1.34.69
15
- Requires-Dist: botocore==1.34.69
16
- Requires-Dist: scikit-learn==1.6.0
17
- Requires-Dist: onnx==1.14.1
18
- Requires-Dist: onnxconverter-common==1.14.0
19
- Requires-Dist: regex
20
- Requires-Dist: keras2onnx==1.7.0
21
- Requires-Dist: tensorflow==2.18.0
22
- Requires-Dist: tf2onnx==1.16.1
23
- Requires-Dist: skl2onnx==1.18.0
24
- Requires-Dist: onnxruntime==1.17.1
25
- Requires-Dist: torch==2.6.0
26
- Requires-Dist: pydot==1.4.2
27
- Requires-Dist: importlib-resources==6.1.1
28
- Requires-Dist: onnxmltools==1.11.0
29
- Requires-Dist: Pympler==1.0.1
30
- Requires-Dist: docker==6.1.3
31
- Requires-Dist: wget==3.2
32
- Requires-Dist: PyJWT==2.8.0
33
- Requires-Dist: seaborn==0.13.2
34
- Requires-Dist: astunparse==1.6.3
35
- Requires-Dist: shortuuid==1.0.11
36
- Requires-Dist: psutil==5.9.5
37
- Requires-Dist: pathlib
38
- Requires-Dist: protobuf==3.20.3
39
- Requires-Dist: dill==0.3.7
40
- Requires-Dist: scikeras==0.11.0
14
+ Requires-Dist: boto3
15
+ Requires-Dist: onnx
16
+ Requires-Dist: onnxmltools
17
+ Requires-Dist: onnxruntime
18
+ Requires-Dist: skl2onnx
19
+ Requires-Dist: tf2onnx
20
+ Requires-Dist: wget
21
+ Requires-Dist: shortuuid
22
+ Requires-Dist: Pympler
23
+ Requires-Dist: scikeras
41
24
  Dynamic: author
42
25
  Dynamic: author-email
43
26
  Dynamic: classifier
@@ -0,0 +1,10 @@
1
+ boto3
2
+ onnx
3
+ onnxmltools
4
+ onnxruntime
5
+ skl2onnx
6
+ tf2onnx
7
+ wget
8
+ shortuuid
9
+ Pympler
10
+ scikeras
@@ -0,0 +1,39 @@
1
+
2
+ import setuptools
3
+
4
+ with open("README.md", "r") as fh:
5
+ long_description = fh.read()
6
+
7
+ setuptools.setup(
8
+ name='aimodelshare', #TODO:update
9
+ version='0.1.33', #TODO:update
10
+ author="Michael Parrott",
11
+ author_email="mikedparrott@modelshare.org",
12
+ description="Deploy locally saved machine learning models to a live rest API and web-dashboard. Share it with the world via modelshare.org",
13
+ long_description=long_description,
14
+ long_description_content_type="text/markdown",
15
+ url="https://www.modelshare.org",
16
+ packages=setuptools.find_packages(),
17
+ install_requires=[
18
+ "boto3",
19
+ "onnx",
20
+ "onnxmltools",
21
+ "onnxruntime",
22
+ "skl2onnx",
23
+ "tf2onnx",
24
+ "wget",
25
+ "shortuuid",
26
+ "Pympler",
27
+ "scikeras"
28
+ ]
29
+
30
+
31
+ ,
32
+ classifiers=[
33
+ "Programming Language :: Python :: 3",
34
+ "License :: Other/Proprietary License",
35
+ "Operating System :: OS Independent",
36
+ ],
37
+ python_requires='>=3.7',
38
+ include_package_data=True)
39
+
@@ -1,27 +0,0 @@
1
- boto3==1.34.69
2
- botocore==1.34.69
3
- scikit-learn==1.6.0
4
- onnx==1.14.1
5
- onnxconverter-common==1.14.0
6
- regex
7
- keras2onnx==1.7.0
8
- tensorflow==2.18.0
9
- tf2onnx==1.16.1
10
- skl2onnx==1.18.0
11
- onnxruntime==1.17.1
12
- torch==2.6.0
13
- pydot==1.4.2
14
- importlib-resources==6.1.1
15
- onnxmltools==1.11.0
16
- Pympler==1.0.1
17
- docker==6.1.3
18
- wget==3.2
19
- PyJWT==2.8.0
20
- seaborn==0.13.2
21
- astunparse==1.6.3
22
- shortuuid==1.0.11
23
- psutil==5.9.5
24
- pathlib
25
- protobuf==3.20.3
26
- dill==0.3.7
27
- scikeras==0.11.0
@@ -1,55 +0,0 @@
1
-
2
- import setuptools
3
-
4
- with open("README.md", "r") as fh:
5
- long_description = fh.read()
6
-
7
- setuptools.setup(
8
- name='aimodelshare', #TODO:update
9
- version='0.1.31', #TODO:update
10
- author="Michael Parrott",
11
- author_email="mikedparrott@modelshare.org",
12
- description="Deploy locally saved machine learning models to a live rest API and web-dashboard. Share it with the world via modelshare.org",
13
- long_description=long_description,
14
- long_description_content_type="text/markdown",
15
- url="https://www.modelshare.org",
16
- packages=setuptools.find_packages(),
17
- install_requires=[
18
- "boto3==1.34.69",
19
- "botocore==1.34.69",
20
- "scikit-learn==1.6.0",
21
- "onnx==1.14.1",
22
- "onnxconverter-common==1.14.0",
23
- "regex",
24
- "keras2onnx==1.7.0",
25
- "tensorflow==2.18.0",
26
- "tf2onnx==1.16.1",
27
- "skl2onnx==1.18.0",
28
- "onnxruntime==1.17.1",
29
- "torch==2.6.0",
30
- "pydot==1.4.2",
31
- "importlib-resources==6.1.1",
32
- "onnxmltools==1.11.0",
33
- "Pympler==1.0.1",
34
- "docker==6.1.3",
35
- "wget==3.2",
36
- "PyJWT==2.8.0",
37
- "seaborn==0.13.2",
38
- "astunparse==1.6.3",
39
- "shortuuid==1.0.11",
40
- "psutil==5.9.5",
41
- "pathlib", # standard in Python 3.11
42
- "protobuf==3.20.3",
43
- "dill==0.3.7",
44
- "scikeras==0.11.0"]
45
-
46
-
47
- ,
48
- classifiers=[
49
- "Programming Language :: Python :: 3",
50
- "License :: Other/Proprietary License",
51
- "Operating System :: OS Independent",
52
- ],
53
- python_requires='>=3.7',
54
- include_package_data=True)
55
-
File without changes
File without changes
File without changes
File without changes