Debug Log - ModuleNotFoundError: No module named 'timm.models.layers.patch_embed'
摘要:运行代码: import timm import torch model = timm.create_model( 'deit_small_patch16_224', pretrained=True, num_classes=6, pretrained_cfg_overlay = dict(file
阅读全文
posted @
2024-08-11 10:57
零度的python武器库
阅读(836)
推荐(0) 编辑
Debug Log - Linux下出现 cmake: command not found
摘要:Bug情况: 在用脚本安装一些环境时,出现了cmake: command not found的情况, 故需要安装cmake。 踩坑: 网上有人说通过yum来安装cmake, 但我先通过apt安装yum(sudo apt install yum), 再通过yum安装cmake(sudo yum ins
阅读全文
posted @
2024-07-14 19:38
零度的python武器库
阅读(345)
推荐(0) 编辑