Rotate-and-Render icon indicating copy to clipboard operation
Rotate-and-Render copied to clipboard

Error in weight type and Input type

Open Rathna21 opened this issue 4 years ago • 6 comments

Hello,

I wanted to train the rotatespade model for my custom data, but I get the following error

Screen Shot 2021-01-15 at 5 46 04 PM

Can someone please help me at this stage?

Rathna21 avatar Jan 15 '21 16:01 Rathna21

I met the same question, have you been solved this problem?

MingzSu avatar May 14 '21 02:05 MingzSu

Have you solved the problem yet? The same thing happened to me

zhih-li avatar Mar 29 '22 06:03 zhih-li

Have you solved the problem yet? The same thing happened to me

I have success in running this project last year, but i forget details. There are some points i remember

  1. all the required software and components should have right version. the neural_render, most problems come from it, you can reference it https://github.com/Hangz-nju-cuhk/Rotate-and-Render/issues/36#issuecomment-833445818 这个项目我去年运行成功了,但是具体细节我忘了,记得最深的就是一定要版本正确,其中就包括这个 neural_render 的版本,一定要对,参考这个issue提到的回复,它修改了neural_render,还有我记得就是要改一下 gpu 相关的参数,它默认的 Gpu id和数量不一定和你的一样

ps:完了 neural_render 的作者把这个修改版的给下了 对了 我记起来为什么要用这个修改版的neural_render了,因为原版neural_render不支持pytorch 1.5 以上,反正就是无论怎么安装,nerual_render 的版本一定要对,然后参考一下前面的 issure

MingzSu avatar Mar 29 '22 08:03 MingzSu

Have you solved the problem yet? The same thing happened to me

I have success in running this project last year, but i forget details. There are some points i remember

  1. all the required software and components should have right version. the neural_render, most problems come from it, you can reference it ValueError: not enough values to unpack (expected 3, got 1 #36 (comment) 这个项目我去年运行成功了,但是具体细节我忘了,记得最深的就是一定要版本正确,其中就包括这个 neural_render 的版本,一定要对,参考这个issue提到的回复,它修改了neural_render,还有我记得就是要改一下 gpu 相关的参数,它默认的 Gpu id和数量不一定和你的一样

ps:完了 neural_render 的作者把这个修改版的给下了 对了 我记起来为什么要用这个修改版的neural_render了,因为原版neural_render不支持pytorch 1.5 以上,反正就是无论怎么安装,nerual_render 的版本一定要对,然后参考一下前面的 issure

十分感谢! 我改了gpu的相关参数,成功跑起来了😊

zhih-li avatar Mar 29 '22 08:03 zhih-li

Have you solved the problem yet? The same thing happened to me

I have success in running this project last year, but i forget details. There are some points i remember

  1. all the required software and components should have right version. the neural_render, most problems come from it, you can reference it ValueError: not enough values to unpack (expected 3, got 1 #36 (comment) 这个项目我去年运行成功了,但是具体细节我忘了,记得最深的就是一定要版本正确,其中就包括这个 neural_render 的版本,一定要对,参考这个issue提到的回复,它修改了neural_render,还有我记得就是要改一下 gpu 相关的参数,它默认的 Gpu id和数量不一定和你的一样

ps:完了 neural_render 的作者把这个修改版的给下了 对了 我记起来为什么要用这个修改版的neural_render了,因为原版neural_render不支持pytorch 1.5 以上,反正就是无论怎么安装,nerual_render 的版本一定要对,然后参考一下前面的 issure

十分感谢! 我改了gpu的相关参数,成功跑起来了😊

Hello! Could you tell me how to modify the parameters about the gpu?

Richard-wang85 avatar Apr 14 '22 07:04 Richard-wang85

Have you solved the problem yet? The same thing happened to me

I have success in running this project last year, but i forget details. There are some points i remember

  1. all the required software and components should have right version. the neural_render, most problems come from it, you can reference it ValueError: not enough values to unpack (expected 3, got 1 #36 (comment) 这个项目我去年运行成功了,但是具体细节我忘了,记得最深的就是一定要版本正确,其中就包括这个 neural_render 的版本,一定要对,参考这个issue提到的回复,它修改了neural_render,还有我记得就是要改一下 gpu 相关的参数,它默认的 Gpu id和数量不一定和你的一样

ps:完了 neural_render 的作者把这个修改版的给下了 对了 我记起来为什么要用这个修改版的neural_render了,因为原版neural_render不支持pytorch 1.5 以上,反正就是无论怎么安装,nerual_render 的版本一定要对,然后参考一下前面的 issure

十分感谢! 我改了gpu的相关参数,成功跑起来了😊

Hello! Could you tell me how to modify the parameters about the gpu?

Hi, my device has two Gpus, here are the parameters I changed in train.sh. Maybe not the best choice, but it worked for me.

--nThreads 1 --device_count 2 --render_thread 1 --chunk_size 2

zhih-li avatar Apr 14 '22 07:04 zhih-li