02 2021 档案

摘要:from gevent import monkey monkey.patch_all() import gevent import time # TODO 此处是业务逻辑操作 def logicDel(data): time.sleep(2) print('im running',data) if 阅读全文
posted @ 2021-02-19 17:45 牛郎 阅读(60) 评论(0) 推荐(0)
摘要:返回随机的指定长度的数字加字母的字符串 import random def getRandomSet(bits): num_set = [chr(i) for i in range(48,58)] char_set = [chr(i) for i in range(97,123)] total_se 阅读全文
posted @ 2021-02-19 10:46 牛郎 阅读(207) 评论(0) 推荐(0)
摘要:1. docker 2. nginx 3. 深度学习框架自带的服务 4. flask nginx uwsgi 阅读全文
posted @ 2021-02-19 10:09 牛郎 阅读(76) 评论(0) 推荐(0)
摘要:尝试了网上众多方法,都没用。最后还是,google搜索 NB啊! sudo apt install uwsgi-plugin-python3 阅读全文
posted @ 2021-02-05 11:04 牛郎 阅读(5364) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/h952520296/article/details/108326507 阅读全文
posted @ 2021-02-05 10:36 牛郎 阅读(598) 评论(0) 推荐(0)
摘要:tensorflow 1.x: tensorflow.space_to_depth tensorflow 2.x: tensorflow.nn.space_to_depth 阅读全文
posted @ 2021-02-04 10:07 牛郎 阅读(1075) 评论(0) 推荐(0)