AMR icon indicating copy to clipboard operation
AMR copied to clipboard

forward() got an unexpected keyword argument 'step'

Open Wheat2018 opened this issue 3 years ago • 5 comments

Hello, there was an exception occurred when I run eval script with command line python run_sample.py --make_cam_pass True --eval_cam_pass True.

TypeError: forward() got an unexpected keyword argument 'step'

The forward method of the class CAM seemingly did not support a parameter named step.

image

But the make_came step had provided it.

image

I'm wondering what's the effect of step, and what should I do for the code.

Wheat2018 avatar Jan 11 '22 16:01 Wheat2018

I have updated the code. Please retry it.

JayQine avatar Jan 11 '22 17:01 JayQine

Yes, it works. Thanks. But now I'm still waiting for the end of the eval. It does have no progress indicator, does it? I'm thinking about adding it to the next run. 😂

Wheat2018 avatar Jan 12 '22 18:01 Wheat2018

Hi @Wheat2018 !

I am also running the make_cam_pass True but the does not show any progress for over 24 hours. However, the GPU is actually running. Have you successfully generated the CAMs?

image

jimmy15923 avatar Jan 21 '22 07:01 jimmy15923

Nope, the code ran over 48h, and then I had to killed it for some reasons.

Wheat2018 avatar Jan 21 '22 07:01 Wheat2018

Hi, @jimmy15923 and @Wheat2018 , I'm also having the same problem, and do you know why and have the solution?

wxqlab avatar Nov 09 '22 06:11 wxqlab