Comments (7)
We provide a blender script for that operation here.
You can specify within the file the desired data_path (a directory that contains directories of fbx files), then simply run :
blender -b -P fbx2bvh.py
the resulting bvh will appear next to their source fbx files.
from deep-motion-editing.
Hello ! As I try to convert some fbx to bvh I end up with this error :
bpy.ops.export_anim.bvh(filepath=dumppath, File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\scripts\modules\bpy\ops.py", line 113, in __call__ ret = _op_call(self.idname_py(), None, kw) TypeError: Converting py args to operator properties: EXPORT_ANIM_OT_bvh.frame_start expected an int type, not float
Does someone have any idea on how to fix this ? Thanks !
@sammedhi This error is because EXPORT_ANIM_OT_bvh
is expecting an integer for the starting frame. You just need to cast your frame_start
and frame_end
to an int
if action.frame_range[1] > frame_end: frame_end = int(action.frame_range[1]) if action.frame_range[0] < frame_start: frame_start = int(action.frame_range[0])
from deep-motion-editing.
MotionBuilder may solve your problem. @crissallan
from deep-motion-editing.
We provide a blender script for that operation here.
You can specify within the file the desired data_path (a directory that contains directories of fbx files), then simply run :
blender -b -P fbx2bvh.py
the resulting bvh will appear next to their source fbx files.
Thank you !
from deep-motion-editing.
Who can help me when run blender -b -P fbx2bvh.py
caused memory leak
from deep-motion-editing.
Hello !
As I try to convert some fbx to bvh I end up with this error :
bpy.ops.export_anim.bvh(filepath=dumppath, File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\scripts\modules\bpy\ops.py", line 113, in __call__ ret = _op_call(self.idname_py(), None, kw) TypeError: Converting py args to operator properties: EXPORT_ANIM_OT_bvh.frame_start expected an int type, not float
Does someone have any idea on how to fix this ?
Thanks !
from deep-motion-editing.
I think this fbx2bvh.py
script only works for animated fbx objects and not for static ones ie as in T-Pose.
Since for static fbx, I get the following error:
Color management: using fallback mode for management
Color management: Error could not find role data role.
Blender 3.0.1
Color management: scene view "Filmic" not found, setting default "Standard".
FBX version: 7400
Traceback (most recent call last):
File "/home/ubuntu/projects/text2motion/Retarget-Motion/deep-motion-editing/blender_rendering/utils/fbx2bvh.py", line 79, in <module>
fbx2bvh(data_path, file)
File "/home/ubuntu/projects/text2motion/Retarget-Motion/deep-motion-editing/blender_rendering/utils/fbx2bvh.py", line 55, in fbx2bvh
action = bpy.data.actions[-1]
IndexError: bpy_prop_collection[-1]: out of range.
Blender quit
from deep-motion-editing.
Related Issues (20)
- How the the skining work? HOT 1
- 处理过手指的重定向吗? HOT 3
- Retargeting retraining on customized dataset HOT 3
- 非标准躯干数据集的可能性 HOT 8
- Use a new dataset in style transfer HOT 1
- 使用额外bvh文件进行retargeting HOT 6
- style transfer任务的pretrained模型和提供config不符
- BVH_mod HOT 1
- Error in forward kinematics HOT 2
- 请问作者有没有尝试过面向3d坐标的异构重定向?
- Error: No module named 'option_parser'
- Error: No module named 'datasets'
- Error: No such file or directory: './datasets/Mixamo/Malcolm_m.npy'
- 使用新骨架进行重定向后,出现模型维度不匹配的问题 HOT 1
- 您好,我现在面临在经过Preprocessing处理之后,在训练的时候数据打开verbose选项,看到数据都是Nan,请问这可能是什么原因造成的呢 HOT 1
- the src.bvh and dst.bvh must be the same Skeletal hierarchy ?
- retarget a bvh file to use it in style transfer HOT 1
- What is the equivalent for batch overfitting for such a training scheme?
- 关于其它bvh文件retargeting的几个问题?
- full body BVH with fingers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deep-motion-editing.