Pytorch problem solving record

1. ValueError: a possible error of optimizer got an empty parameter list

Reason: When initializing the optimizer, I found that there are no parameters in the network structure that need to be optimized. Check def __init__()whether there is a problem with your function and whether it contains a parameter that should be initialized.
ValueError: optimizer got an empty parameter list. A possible error _NLOS的博客-CSDN Blog

2、

Guess you like

Origin blog.csdn.net/qq_41554005/article/details/114818836