我可以在Maya,Blender中导入tensorflow和keras吗 [英] Can I import tensorflow and keras in Maya , Blender

查看:134
本文介绍了我可以在Maya,Blender中导入tensorflow和keras吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在参加一个研讨会,我们需要在其中自动装配角色.也许,我们将使用深度学习方法.任务是识别身体部位.我的问题:是否可以通过3D软件连接tensorflow和keras或其他神经网络?

解决方案

对于搅拌机,您可以按照本教程进行操作

I am participating in a workshop , where we need to automatically rig characters . Perhaps , we will use deep learning methods . The task is to recognize body parts . My question : Is there a way for connecting tensorflow and keras , or other neural networks with 3D software?

解决方案

For blender you can follow this tutorial,

https://www.youtube.com/watch?v=J7Iu1rfwbds

I tested it in Blender 2.81 and Python 3.7 by importing pytorch, opencv, sklearn etc. Also the test code provided in the video works correctly. You do not need follow the pandas installation and git cloning shown on the tutorial. Let it install with other bigger packages or install with conda.

Conda environment creation, https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html.

conda create -n MyNamedEnv python=3.7

After environment is created install your required packages. If you have multiple environments its usually in Anaconda3/envs folder. Command to make link,

mklink /j python C:\Users\computer\Anaconda3\envs\MyNamedEnv

To test if it is working go to scripting tab in blender 2.81 delete everything. A to select all and del button to delete. Paste code from below to Text Editor and run script.

https://github.com/virtualdvid/MachineLearning/blob/master/blender/iris_blender.py

Tensorflow and keras should work similarly by installing them in the conda environment and calling them from blender.

这篇关于我可以在Maya,Blender中导入tensorflow和keras吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆