美文网首页
difftaichi 中的 example 运行问题

difftaichi 中的 example 运行问题

作者: nase_luobeng | 来源:发表于2020-01-10 11:50 被阅读0次

从 https://github.com/yuanming-hu/difftaichi 下载了 difftaichi 。

运行 difftaichi 下的 example 还需要安装以下这些包,仅仅列了实验好的部分。

opencv 

opencv是一个强大的图像处理和计算机视觉库,实现了很多实用算法,值得学习和深究下。

直接安装opencv-python包(非官方): pip install opencv-python

Successfully installed opencv-python-4.1.2.30

Matplotlib 

Matplotlib 是 Python 的绘图库。 它可与 NumPy 一起使用,提供了一种有效的 MatLab 开源替代方案。 它也可以和图形工具包一起使用,如 PyQt 和 wxPython。

python -m pip install matplotlib

Installing collected packages: kiwisolver, python-dateutil, cycler, matplotlib

Successfully installed cycler-0.10.0 kiwisolver-1.1.0 matplotlib-3.1.2 python-dateutil-2.8.1

pytorch

Pytorch是Facebook 的 AI 研究团队发布了一个 Python 工具包,专门针对 GPU 加速的深度神经网络(DNN)编程。Torch 是一个经典的对多维矩阵数据进行操作的张量(tensor )库,在机器学习和其他数学密集型应用有广泛应用。

pip 安装总是失败。原因待查

其他

另外还需要模块 renderer_utils、scipy、autograd、jax、torch、imageio

还有些报 AttributeError: type object 'Path' has no attribute 'home' 类似错误

相关文章

网友评论

      本文标题:difftaichi 中的 example 运行问题

      本文链接:https://www.haomeiwen.com/subject/dbjpactx.html