
深度学习环境
什么是快了星球
深度学习、计算机视觉,做一个知识学习和内容传播者!
展开
-
Windows编译CenterNet
一、下载centernethttps://github.com/xingyizhou/CenterNet二、安装VS2017三、build nmscd src\lib\externalpython setup.py build_ext --inplaceC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo原创 2021-08-03 18:32:33 · 343 阅读 · 1 评论 -
ubuntu pip安装 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))pip install top -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com,这里的top就是要下载的库,如果要下载其他的库,替换top即可。...原创 2021-07-15 10:59:53 · 803 阅读 · 0 评论 -
No module named ‘past
ModuleNotFoundError: No module named 'past'解决办法:pip install future原创 2021-07-14 16:40:35 · 135 阅读 · 0 评论 -
cannot import name ‘amp‘
Traceback (most recent call last): File "train.py", line 15, in <module> from torch.cuda import ampImportError: cannot import name 'amp'1.只有PyTorch1.6版本以上才可以从torch.cuda中import amp;2.否则需要自行安装apex,源代码改为安装apexgit clone https://github.com/NVI原创 2021-07-14 16:33:13 · 3772 阅读 · 0 评论 -
tensortx模型部署问题 解决collections.OrderedDict‘ object has no attribute ‘to‘ ,‘eval‘
‘collections.OrderedDict’ object has no attribute ‘to’this is my main code,but I don't know how to fix the problem?device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')model = torch.load('./checkpoints/fcn_model_5.pth') # 加载模型model =原创 2021-07-13 19:12:28 · 4926 阅读 · 2 评论