DeepMotionEditing / deep-motion-editing

An end-to-end library for editing and rendering motion of 3D characters with deep learning [SIGGRAPH 2020]
BSD 2-Clause "Simplified" License
1.58k stars 256 forks source link

FileNotFoundError: [Errno 2] No such file or directory: './examples/intra_structure\\result.bvh' #123

Closed Sba-Stuff closed 3 years ago

Sba-Stuff commented 3 years ago

I got an issue here, don't know what is the problem. Any Fix? image

Sba-Stuff commented 3 years ago

Fixed It, By adding my own environment python path (demo.py) pythonpath = "C:\\Users\Muhammad Wajeeh\\Desktop\\VoiceCloneApp\\python.exe" cmd = "\""+pythonpath+"\""+' eval_single_pair.py --input_bvh={} --target_bvh={} --output_filename={} --test_type={}'.format(

Then Error will come about cp in eval_single_pair.py about copying. Fixed it using copyfile. there are some issues that may encounter if some other environment was used. ` from shutil import copyfile model.set_input(input_motion) model.test()

print(str(output_filename))

#print(model.bvh_path)
#print(output_character_name)
#print(src_id)
#print(output_filename)
#print(str('cp "{}/{}/0_{}.bvh" "./{}"'.format(model.bvh_path, output_character_name, src_id, output_filename)))
#os.system('cp "{}/{}/0_{}.bvh" "./{}"'.format(model.bvh_path, output_character_name, src_id, output_filename))
copyfile(str(model.bvh_path+"/"+output_character_name+"/"+"0_"+str(src_id)+".bvh"),output_filename)`

Outputs are something like this; it seems more tuning is also required. image