You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Untitled.ipynb 3.8 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. {
  2. "cells": [
  3. {
  4. "cell_type": "markdown",
  5. "id": "6f77fa61-15e1-4b30-9a00-baaa47b51185",
  6. "metadata": {},
  7. "source": [
  8. "# 学习kotti_ai"
  9. ]
  10. },
  11. {
  12. "cell_type": "code",
  13. "execution_count": null,
  14. "id": "df6e211d-f50d-4110-b233-94e46304f18f",
  15. "metadata": {},
  16. "outputs": [],
  17. "source": []
  18. },
  19. {
  20. "cell_type": "code",
  21. "execution_count": null,
  22. "id": "d803c04f-11f6-43c3-8ca8-9a0443efbb8a",
  23. "metadata": {},
  24. "outputs": [],
  25. "source": []
  26. },
  27. {
  28. "cell_type": "code",
  29. "execution_count": null,
  30. "id": "9c46c65d-b01d-4e1e-9f63-452cefb460c2",
  31. "metadata": {},
  32. "outputs": [],
  33. "source": []
  34. },
  35. {
  36. "cell_type": "code",
  37. "execution_count": null,
  38. "id": "480685f1-0635-4ce6-9370-e482ea093c00",
  39. "metadata": {},
  40. "outputs": [],
  41. "source": []
  42. },
  43. {
  44. "cell_type": "code",
  45. "execution_count": null,
  46. "id": "eb5faa94-6f78-4a69-aa08-b4dad6a6c01d",
  47. "metadata": {},
  48. "outputs": [],
  49. "source": []
  50. },
  51. {
  52. "cell_type": "code",
  53. "execution_count": null,
  54. "id": "5508756d-ed8c-40e4-929b-ac2c70846e3e",
  55. "metadata": {},
  56. "outputs": [],
  57. "source": []
  58. },
  59. {
  60. "cell_type": "code",
  61. "execution_count": null,
  62. "id": "725aac33-d16c-4e90-b810-cdb052c6bece",
  63. "metadata": {},
  64. "outputs": [],
  65. "source": []
  66. },
  67. {
  68. "cell_type": "code",
  69. "execution_count": null,
  70. "id": "65b1d58e-6a49-4a73-9467-5e613ed285b7",
  71. "metadata": {},
  72. "outputs": [],
  73. "source": []
  74. },
  75. {
  76. "cell_type": "markdown",
  77. "id": "f38414f1-e926-4206-8515-982faf9de22a",
  78. "metadata": {},
  79. "source": [
  80. "# 问题\n",
  81. "## 在将pp-shitu嵌入action后,登录后一直重复,最终报错\n",
  82. "```\n",
  83. "======================================== [{'bbox': [345, 95, 524, 585], 'rec_docs': '红牛-强化型', 'rec_scores': 0.8073724}]\n",
  84. "E0911 08:59:17.500499 19310 factory.h:183] RAW: Insert duplicate with tag: WeightedRandomRender\n",
  85. "I0911 08:59:17.500499 19310 abtest.h:67] RAW: Factory has been registed: WeightedRandomRender->EndpointRouterBase.\n",
  86. "I0911 08:59:18.467280 19310 general_model.cpp:490] [client]logid=0,client_cost=950.647ms,server_cost=948.723ms.\n",
  87. "======================================== [{'bbox': [345, 95, 524, 585], 'rec_docs': '红牛-强化型', 'rec_scores': 0.807\n",
  88. "```\n",
  89. "报错\n",
  90. "```\n",
  91. " result = self.cookie.identify(request)\n",
  92. " File \"/home/pyramid/py39/lib/python3.9/site-packages/pyramid/authentication.py\", line 986, in identify\n",
  93. " userid = decoder(userid)\n",
  94. " File \"/home/pyramid/py39/lib/python3.9/site-packages/pyramid/authentication.py\", line 860, in <lambda>\n",
  95. " 'b64unicode': lambda x: utf_8_decode(b64decode(x))[0],\n",
  96. " File \"/home/pyramid/py39/lib/python3.9/site-packages/pyramid/authentication.py\", line 669, in b64decode\n",
  97. " return base64.b64decode(bytes_(v))\n",
  98. " File \"/home/pyramid/py39/lib/python3.9/base64.py\", line 80, in b64decode\n",
  99. " s = _bytes_from_decode_data(s)\n",
  100. " File \"/home/pyramid/py39/lib/python3.9/base64.py\", line 40, in _bytes_from_decode_data\n",
  101. " if isinstance(s, bytes_types):\n",
  102. "RecursionError: maximum recursion depth exceeded in __instancecheck__\n",
  103. "```\n",
  104. "初步判断是陷入循环了。\n",
  105. "\n"
  106. ]
  107. }
  108. ],
  109. "metadata": {
  110. "kernelspec": {
  111. "display_name": "Python 3 (ipykernel)",
  112. "language": "python",
  113. "name": "python3"
  114. },
  115. "language_info": {
  116. "codemirror_mode": {
  117. "name": "ipython",
  118. "version": 3
  119. },
  120. "file_extension": ".py",
  121. "mimetype": "text/x-python",
  122. "name": "python",
  123. "nbconvert_exporter": "python",
  124. "pygments_lexer": "ipython3",
  125. "version": "3.9.12"
  126. }
  127. },
  128. "nbformat": 4,
  129. "nbformat_minor": 5
  130. }

kotti_ai是AI+互联网企业级应用软件包,通过web技术,将基于飞桨Paddle Serving框架和 MindSpore Serving的AI应用更好的呈现出来,解决AI实际部署落地难、AI技术提供商与最终用户互通难的问题,实现AI部署、落地、上线以及推广一条龙解决方案!

Contributors (1)