Closed Sba-Stuff closed 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(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.
I got an issue here, don't know what is the problem. Any Fix?