-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not run any .py in /app #8
Comments
I can run if I put all .py files into one folder and edit all path in every .py files |
You might have another package called "poser" in your Python installation. Adding the project's directory to the PYTHONPATH environment variable variable before running "python app/manual_poser.py" might help. https://stackoverflow.com/questions/54100236/absolute-import-results-in-modulenotfounderror |
I have set the PYTHONPATH environment variable, but I still cannot get the live2d presenting.
What is the problem? By the way, python app/puppeteer.py this command also cannot present any results.
Here’s the log:
Exception in Tkinter callback
Traceback (most recent call last):
File "D:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\tkinter\__init__.py", line 1883, in __call__
return self.func(*args)
File "D:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\tkinter\__init__.py", line 804, in callit
func(*args)
File "app/manual_poser.py", line 112, in update_image
posed_image = self.poser.pose(self.source_image, self.current_pose).detach().cpu()
File "D:\Downloads\talking-head-anime-demo-master\poser\morph_rotate_combine_poser.py", line 82, in pose
combined_image = combine_module(rotated_images[0], rotated_images[1], rotate_params)
File "D:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\nn\modules\module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "D:\Downloads\talking-head-anime-demo-master\tha\combiner.py", line 42, in forward
y = self.main_body(x)
File "D:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\nn\modules\module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "D:\Downloads\talking-head-anime-demo-master\nn\u_net_module.py", line 61, in forward
y = torch.cat([x, downward_outputs[i]], dim=1)
RuntimeError: error in LoadLibraryA
发送自 Windows 10 版邮件应用
发件人: dragonmeteor
发送时间: 2020年2月4日 10:38
收件人: pkhungurn/talking-head-anime-demo
抄送: Subscribed
主题: Re: [pkhungurn/talking-head-anime-demo] Can not run any .py in /app(#8)
You might have another package called "poser" in your Python installation. Adding the project's directory to the PYTHONPATH environment variable variable before running "python app/manual_poser.py" might help.
https://stackoverflow.com/questions/54100236/absolute-import-results-in-modulenotfounderror
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
not only the "poser.py" but all the .py files in the other folders can not be loaded. It seems the path of the current working path does not work. I just put them all together and edit the path in .py files and they work fine. |
I am using Python 3.6.8 , and I have installed all the dependencies including CUDA and cudnn
The text was updated successfully, but these errors were encountered: