-
Notifications
You must be signed in to change notification settings - Fork 180
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
TypeError - Missing Required Positional Argument in Custom PyTorch Model Training #82
Comments
I am also facing the same issue, did you solved it ?? |
It's not resolved yet, can I have your contact information? Which chat tool do you usually use? I would like to ask you some questions.
发自我的iPhone
…------------------ Original ------------------
From: meetncl ***@***.***>
Date: Wed,Nov 29,2023 7:10 PM
To: sangyun884/HR-VITON ***@***.***>
Cc: Zhangzqing ***@***.***>, Author ***@***.***>
Subject: Re: [sangyun884/HR-VITON] TypeError - Missing Required PositionalArgument in Custom PyTorch Model Training (Issue #82)
|
Hey you contact me on X: @MeetNagadia or Mail: meetn@coutloot.com |
Have you solved this problem? my friends! |
this help you to understand the problems |
thx!I’ll go check it out now.
发自我的iPhone
…------------------ Original ------------------
From: Manish ***@***.***>
Date: Fri,Apr 5,2024 8:24 PM
To: sangyun884/HR-VITON ***@***.***>
Cc: Zhangzqing ***@***.***>, Author ***@***.***>
Subject: Re: [sangyun884/HR-VITON] TypeError - Missing Required PositionalArgument in Custom PyTorch Model Training (Issue #82)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am attempting to train a condition generator model using the train_condition.py script from the HR-VITON project, but I am encountering the following error:
TypeError: forward() missing 1 required positional argument: 'input2'
The error occurs when executing the command:
python train_condition.py --cuda True --gpu_ids 0 --Ddownx2 --Ddropout --lasttvonly --interflowloss --occlusion
I have confirmed that the parameters input1 and input2 passed to the forward() method of the tocg model are correctly initialized and contain the correct data. I am using PyTorch version [Your PyTorch version] and Python version [Your Python version].
Does anyone have any suggestions on how to resolve this issue?
The text was updated successfully, but these errors were encountered: