Comments (7)
My fork with changes for Windows 10
In file retargeting/eval_single_pair.py
Replace this line
args.output_filename = recover_space(args.output_filename)
with
args.output_filename = args.output_filename
# Windows 10 fix
# args.output_filename = recover_space(args.output_filename) -- recover_space removes underline in 'examples/intra_structure' and replaces it with a space 'examples/iintra structure' resulting in bad path
Next in file retargeting/option_parser.py
Replace this line
` os.system('mkdir -p {}'.format(path))`
with this
os`.makedirs(path)`
Change is located in
def try_mkdir(path):
import os import os
if not os.path.exists(path): if not os.path.exists(path):
os.system('mkdir -p {}'.format(path)) # Windows 10 fix
# os.system('mkdir -p {}'.format(path)) -- does not work in windows 10 fails to make directory
os.makedirs(path)
from deep-motion-editing.
In addition to what @delebash said, also replace
os.system('cp "{}/{}/0_{}.bvh" "./{}"'.format(model.bvh_path, output_character_name, src_id, output_filename))
with
os.system('copy /Y "{}\\{}\\0_{}.bvh" "{}"'.format(model.bvh_path, output_character_name, src_id, output_filename))
in the file eval_single_pair.py
and change the .sh files to .bat, and the project runs on Windows 10 natively without requiring PowerShell or Git Bash.
from deep-motion-editing.
My fault. The error was that I had not downloaded and installed the datasets files.
from deep-motion-editing.
I have a similar question :
datasets have been downloaded:
cmd : python eval_single_pair.py --input_bvh=./datasets/Mixamo/Aj/Dancing_Running_Man.bvh --target_bvh=./datasets/Mixamo/BigVegas/Dancing_Running_Man.bvh --output_filename=./examples/intra_structure/result.bvh --test_type=intra
loading from ./pretrained/models/topology0
loading from epoch 20000......
load succeed!
loading from ./pretrained/models/topology1
loading from epoch 20000......
load succeed!
Traceback (most recent call last):
File "demo.py", line 47, in
example('Aj', 'BigVegas', 'Dancing Running Man.bvh', 'intra', './examples/intra_structure')
File "demo.py", line 43, in example
height)
File "/data/gemhygao/code/deep-motion-editing/retargeting/models/IK.py", line 57, in fix_foot_contact
anim, name, ftime = BVH.load(input_file)
File "../utils/BVH.py", line 58, in load
f = open(filename, "r")
FileNotFoundError: [Errno 2] No such file or directory: './examples/intra_structure/result.bvh'
from deep-motion-editing.
my problem fixed by
conda install pytorch torchvision cpuonly -c pytorch
from deep-motion-editing.
I had this problem originally and if I remember correctly this was also a path issue. I will look at my project
from deep-motion-editing.
maybe you should run it on a Linux
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.