ValueError: Cannot assign non-leaf Tensor to parameter ‘weight‘
问题:在运行YOLOV7时,出现下面错误:在解决过程中找了很多资料,但是都没有确切的答案~~~~行吧,自己解决**File"/usr/local/anaconda3/envs/coat/lib/python3.8/site-packages/torch/nn/modules/module.py",line727,in_call_implresult=self.forward(*input,**kw