Open Zhangzqing opened 9 months ago
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)
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?