czdpzc

czdpzc

V2EX member #275533, joined on 2017-12-19 15:22:00 +08:00
Per czdpzc's settings, the topics list is only visible after you sign in
Deals info, including closed deals, is not hidden
czdpzc's recent replies
Dec 17, 2020
Replied to a topic by timepast 硬件 研发电脑推荐
@timepast thinkpad 是真的皮实😂,我的 x1 carbon 从一米八左右摔过一次,差点心脏骤停,结果就蹭了点漆。而且 carbon 确实轻。
有点像 wordpress 里的模板😂
Nov 26, 2020
Replied to a topic by Nanguage 分享创造 Rainbow-Fart 马保国语音包
写代码的时候笑容饱满,老板直夸我有精神🙃
Oct 17, 2020
Replied to a topic by formulahendry Visual Studio Code 把 VS Code 变成小霸王游戏机~
摸鱼累的时候还能写写代码轻松一下 :)
Oct 15, 2020
Replied to a topic by allenwuli Python opencv Python 内存泄漏
@allenwuli
5 楼那么测应该是对的。但我也用 CelebA 数据库试了一下,202599 张人脸图像,一切正常。
```
import cv2 as cv
import os

def img_read(path):
img = cv.imread(path)
return img

def main():
path = "celebA_dataset/img_align_celeba/"
imgs = os.listdir(path)
print(len(imgs))

count=0
for i in imgs:
img = img_read(os.path.join(path,i))
count+=1
print(count)

print("done")

if __name__ == "__main__":
main()
```
Oct 15, 2020
Replied to a topic by allenwuli Python opencv Python 内存泄漏
同测没爆内存
Python 3.7.7 opencv-python 4.3.0
pyecharts https://pyecharts.org/#/zh-cn/intro
- 能生成基于 Web 的交互式图表;支持 Jupyter Notebook ;文档还是比较详细的
- 支持三维坐标 https://gallery.pyecharts.org/#/Scatter3D/scatter3d
- 是否支持极坐标和笛卡尔坐标一起显示不太清楚,建议看看文档 :)
(楼主不会是在寻求替代 matlab 的工具链吧...
可以的,PyTorch 官方 tutorials 有提到使用 Flask 实现一个简单的 Web 应用。你可以在 Flask 初始化 app 的时候预就把 model 加载好。
https://pytorch.org/tutorials/intermediate/flask_rest_api_tutorial.html
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3065 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 12:08 · PVG 20:08 · LAX 05:08 · JFK 08:08
♥ Do have faith in what you're doing.