-
Notifications
You must be signed in to change notification settings - Fork 0
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
Hello I am having issue in Maya when browsing a photo #1
Comments
Hi, sorry for the late reply. It seems like you installed it in the wrong path. Could you try sys.executable in your Maya Script Editor(Python), and print it out to check where is your Maya path? |
Yeah I've Checked it, it's in F:\Maya-2022\Maya2022\bin\maya.exe.
What did I installed in the wrong path, How can I solve this?
…On Mon, Jul 24, 2023 at 2:41 PM Ashley Ho ***@***.***> wrote:
Hi, sorry for the late reply. It seems like you installed it in the wrong
path.
Could you try sys.executable in your Maya Script Editor(Python), and print
it out to check where is your Maya path?
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2QLVT2WYWCBUUEQTWFPWVLXRY7LFANCNFSM6AAAAAA2UU4NBU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Try to install it in F:\Maya-2022\Maya2022, and then check if it is possible to run. |
What should I install in F:\Maya-2022\Maya2022 ?
…On Tue, 25 Jul 2023, 4:40 am Ashley Ho, ***@***.***> wrote:
Try to install it in F:\Maya-2022\Maya2022, and then check if it is
possible to run.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2QLVT7CQ2MXT6YWDNUJUX3XR4BWFANCNFSM6AAAAAA2UU4NBU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I have added virtual environment and AI model in the root directory but
still having this error.
What could be the problem about the path issue?
Please assist me with this
…On Tue, 25 Jul 2023, 5:44 pm haris khan, ***@***.***> wrote:
What should I install in F:\Maya-2022\Maya2022 ?
On Tue, 25 Jul 2023, 4:40 am Ashley Ho, ***@***.***> wrote:
> Try to install it in F:\Maya-2022\Maya2022, and then check if it is
> possible to run.
>
> —
> Reply to this email directly, view it on GitHub
> <#1 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/A2QLVT7CQ2MXT6YWDNUJUX3XR4BWFANCNFSM6AAAAAA2UU4NBU>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Here is my path in root Maya: and in those two folders, mine is: released_v0.1 |-- DFDN Check if your path is like this. |
Yeah my path is exactly the same as yours but still getting the error. Is
this somthing more that I should change
It is something to do with "facialDetail.py" file?
I think its unable to create .obj or .mtl file, due to which it can't
generate mesh
…On Wed, 26 Jul 2023, 2:42 pm Ashley Ho, ***@***.***> wrote:
Here is my path in root Maya:
Maya2022|--Alenv
|--released_v0.1
and in those two folders, mine is:
Alenv |--conda-meta
|--DLLs
|--include
......(and so on)
released_v0.1 |-- DFDN
|-- emotionNet
|-- faceRender
.....(and so on)
Check if your path is like this.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2QLVT3QSOEJHGNFRW2G7WDXSDRBTANCNFSM6AAAAAA2UU4NBU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Could you check if anything was generated in ”released_v0.1/results“? If the AI module goes well, it will create a folder with your image name. Click it to check if the "result.obj" file is in that folder. |
I did a lot of print in bridge.py, could you also check if there is anything printed out during the script running? It can help to check the path. |
Sorry to bother you again and again :(
Nope there is nothing with my image name in ”released_v0.1/results“. No
extra folder is created in that folder.
…On Thu, Jul 27, 2023 at 12:11 AM Ashley Ho ***@***.***> wrote:
Could you check if anything was generated in ”released_v0.1/results“? If
the AI module goes well, it will create a folder with your image name.
Click it to check if the "result.obj" file is in that folder.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2QLVT67L2XU2J6ABHYBPZLXSFTXZANCNFSM6AAAAAA2UU4NBU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Okayy, that means the Ai model didn't run successfully. Could you describe it in more detail? After you run the Bridge.py in Maya script editor, did you see a window pop up? If you did, after you select the image, what information on the editor does it print out? |
[image: image.png]
I am getting just a name of image on editor
…On Thu, Jul 27, 2023 at 1:46 AM Ashley Ho ***@***.***> wrote:
Okayy, that means the Ai model didn't run successfully. Could you describe
it in more detail? After you run the Bridge.py in Maya script editor, did
you see a window pop up? If you did, after you select the image, what
information on the editor does it print out?
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2QLVT3M7OTBC3JLMPZX2XDXSF6ZZANCNFSM6AAAAAA2UU4NBU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
[image: image.png]
After I click Generate then this error pops up.
…On Thu, Jul 27, 2023 at 1:53 AM haris khan ***@***.***> wrote:
[image: image.png]
I am getting just a name of image on editor
On Thu, Jul 27, 2023 at 1:46 AM Ashley Ho ***@***.***>
wrote:
> Okayy, that means the Ai model didn't run successfully. Could you
> describe it in more detail? After you run the Bridge.py in Maya script
> editor, did you see a window pop up? If you did, after you select the
> image, what information on the editor does it print out?
>
> —
> Reply to this email directly, view it on GitHub
> <#1 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/A2QLVT3M7OTBC3JLMPZX2XDXSF6ZZANCNFSM6AAAAAA2UU4NBU>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Sorry, I cant see the image. Could you send it again? |
[image: image.png]
…On Thu, Jul 27, 2023 at 1:59 AM Ashley Ho ***@***.***> wrote:
Sorry, I cant see the image. Could you send it again?
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2QLVTZANXHIYCNMSWBDEI3XSGALFANCNFSM6AAAAAA2UU4NBU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
[image: image.png]
…On Thu, Jul 27, 2023 at 1:54 AM haris khan ***@***.***> wrote:
[image: image.png]
After I click Generate then this error pops up.
On Thu, Jul 27, 2023 at 1:53 AM haris khan ***@***.***>
wrote:
> [image: image.png]
> I am getting just a name of image on editor
>
> On Thu, Jul 27, 2023 at 1:46 AM Ashley Ho ***@***.***>
> wrote:
>
>> Okayy, that means the Ai model didn't run successfully. Could you
>> describe it in more detail? After you run the Bridge.py in Maya script
>> editor, did you see a window pop up? If you did, after you select the
>> image, what information on the editor does it print out?
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#1 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/A2QLVT3M7OTBC3JLMPZX2XDXSF6ZZANCNFSM6AAAAAA2UU4NBU>
>> .
>> You are receiving this because you authored the thread.Message ID:
>> ***@***.***>
>>
>
|
Now I am able to get the output of only those images whose output are
already created in ”released_v0.1/results“ (Like Manface, Womanface, nic01).
But,
I am getting that same error about Generate Mesh, Show Mesh and File Not
Found WHENEVER I select other images .
How can I use my images and release an output
I think AI model is not running successfully
:'(
[image: image.png]
[image: image.png]
…On Thu, Jul 27, 2023 at 3:08 AM haris khan ***@***.***> wrote:
[image: image.png]
On Thu, Jul 27, 2023 at 1:54 AM haris khan ***@***.***>
wrote:
> [image: image.png]
> After I click Generate then this error pops up.
>
> On Thu, Jul 27, 2023 at 1:53 AM haris khan ***@***.***>
> wrote:
>
>> [image: image.png]
>> I am getting just a name of image on editor
>>
>> On Thu, Jul 27, 2023 at 1:46 AM Ashley Ho ***@***.***>
>> wrote:
>>
>>> Okayy, that means the Ai model didn't run successfully. Could you
>>> describe it in more detail? After you run the Bridge.py in Maya script
>>> editor, did you see a window pop up? If you did, after you select the
>>> image, what information on the editor does it print out?
>>>
>>> —
>>> Reply to this email directly, view it on GitHub
>>> <#1 (comment)>,
>>> or unsubscribe
>>> <https://github.com/notifications/unsubscribe-auth/A2QLVT3M7OTBC3JLMPZX2XDXSF6ZZANCNFSM6AAAAAA2UU4NBU>
>>> .
>>> You are receiving this because you authored the thread.Message ID:
>>> ***@***.***>
>>>
>>
|
Sorry, I still cant see the image. What if you try to put your image in "released_v0.1/samples" ? This code is a long time ago, and I use Windows. But now I changed my computer to MAC, so I cant test it until I get another Windows computer. Sorry for that. It may be the path is wrong. Sorry for that. If you put your image in "released_v0.1/samples" and run successfully, I will check my code after I have a Windows computer. (This AI module can only run in Windows) |
Yeah let me check.
I am making some mistake in setting path or something.
I will show you the project_path and python_path.
I am so sorry for disturbing you again and again
…On Thu, 27 Jul 2023, 1:23 pm Ashley Ho, ***@***.***> wrote:
Sorry, I still cant see the image.
What if you try to put your image in "released_v0.1/samples" ?
This code is a long time ago, and I use Windows. But now I changed my
computer to MAC, so I cant test it until I get another Windows computer.
Sorry for that. It may be the path is wrong. Sorry for that.
If you put your image in "released_v0.1/samples" and run successfully, I
will check my code after I have a Windows computer. (This AI module can
only run in Windows)
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2QLVTYFICD35J6VD5OXFA3XSIQPZANCNFSM6AAAAAA2UU4NBU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
No worries, cuz the code is just a course project, some functions may not be completed. And I just test it using my computer. Let me know if it is a success after you put your image in "released_v0.1/samples" path. |
I tested it after putting image in "released_v0.1/samples" path but it
doesn't work
Please check this path, if this is correct or not. This code is of bridge.py
def run_ai(self):
python_path=path+'\\AIenv\\python.exe'
project_path=path+'\\released_v0.1\\facialDetails.py'
inputImage_path = self.input_path
print(inputImage_path)
outputResult_path = os.path.abspath(path+'\\released_v0.1\\results')
…On Thu, Jul 27, 2023 at 3:25 PM Ashley Ho ***@***.***> wrote:
No worries, cuz the code is just a course project, some functions may not
be completed. And I just test it using my computer. Let me know if it is a
success after you put your image in "released_v0.1/samples" path.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2QLVT5PEIOG3S3PUNCYC43XSI6ZTANCNFSM6AAAAAA2UU4NBU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
My sys.executable path is F:/maya-2022/maya2022/bin/maya.exe
As you said that your executable path is /maya-2022/maya2022/maya.exe
Does it make a difference? which is causing an error about not finding the
file.
Kindly have a look carefully at my path. I think there is a small mistake
in putting the appropriate path.
I have put in a lot of hardwork from the last couple of days, so kindly
help me out.
Thanking you in an anticipation :)
…On Thu, Jul 27, 2023 at 3:39 PM haris khan ***@***.***> wrote:
I tested it after putting image in "released_v0.1/samples" path but it
doesn't work
Please check this path, if this is correct or not. This code is of
bridge.py
def run_ai(self):
python_path=path+'\\AIenv\\python.exe'
project_path=path+'\\released_v0.1\\facialDetails.py'
inputImage_path = self.input_path
print(inputImage_path)
outputResult_path =
os.path.abspath(path+'\\released_v0.1\\results')
On Thu, Jul 27, 2023 at 3:25 PM Ashley Ho ***@***.***>
wrote:
> No worries, cuz the code is just a course project, some functions may not
> be completed. And I just test it using my computer. Let me know if it is a
> success after you put your image in "released_v0.1/samples" path.
>
> —
> Reply to this email directly, view it on GitHub
> <#1 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/A2QLVT5PEIOG3S3PUNCYC43XSI6ZTANCNFSM6AAAAAA2UU4NBU>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Hi, sorry for the late reply. I still cannot test it as I don't have a Windows computer. The path should be alright. if you put all the stuff under F:/maya-2022/maya2022/. You can check my line 28 output, it will show the input image path, check the Maya script editor to see if the output is correct compared with your own input image path. It seems AI module cant find the image. Sorry, I hardly cant see what exactly the problem is as I cant test it by myself. |
No worries, when I am running facialDetails.py file it gives an import
module error of torch/numpy and other packages Not Found. But they are
already installed.
Is nvidia graphic card necessary for running cuda?
…On Tue, 1 Aug 2023, 12:46 am Ashley Ho, ***@***.***> wrote:
Hi, sorry for the late reply. I still cannot test it as I don't have a
Windows computer.
The path should be alright. if you put all the stuff under
F:/maya-2022/maya2022/.
You can check my line 28 output, it will show the input image path, check
the Maya script editor to see if the output is correct compared with your
own input image path.
It seems AI module cant find the image. Sorry, I hardly cant see what
exactly the problem is as I cant test it by myself.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2QLVT6XMZNYAWPMJGXHHMDXTADPXANCNFSM6AAAAAA2UU4NBU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yes, an NVIDIA graphics card is necessary for running CUDA. |
Hello, Which version of torchvision and torchaudio should I install?
I am getting version error in both of these packages?
…On Wed, 2 Aug 2023, 10:08 pm Ashley Ho, ***@***.***> wrote:
Yes, an NVIDIA graphics card is necessary for running CUDA.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2QLVT5UEIFTBGYYDOSZ6WTXTKCPTANCNFSM6AAAAAA2UU4NBU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi, sorry I don't have the script and env for this project. You can download my virtual env as I mentioned in README. All the package versions should be there. Thanks! |
Sorry for disturbing you again.
I'm stuck in an issue
torch cuda is available ()>
False
Can you help me out in resolving this error??
…On Sun, 22 Oct 2023, 4:39 pm Ashley Ho, ***@***.***> wrote:
Hi, sorry I don't have the script and env for this project. You can
download my virtual env as I mentioned in README. All the package versions
should be there. Thanks!
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2QLVT6T5C7WPKYAWLUK2ALYAUAXTAVCNFSM6AAAAAA2UU4NBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZUGA3TANJSHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi sorry for the delay. |
I get the error
"Error in Generate Mesh"
"File not Found"
whenever I try to browse the image in maya.
What could be the issue regarding this problem? Please Assist me in this
Thanks :)
The text was updated successfully, but these errors were encountered: