AttributeError: module 'kornia' has no attribute 'laplacian'
时间: 2023-11-28 14:45:44 浏览: 55
根据引用[2]中提到的两种方法,解决AttributeError: module 'kornia' has no attribute 'laplacian'的问题可以尝试以下两种方法:
1.手动安装kornia模块
可以使用pip命令手动安装kornia模块,命令如下:
```shell
pip install kornia
```
2.检查文件名
检查代码中是否存在与kornia模块同名的文件,如果存在,更改文件名即可。
相关推荐
![py](https://img-home.csdnimg.cn/images/20210720083646.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)