- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 RuntimeError: CUDA error: CUBLAS_STATUS_EXECUTION_FAILED when calling `cublasSgemm( handle, opa, opb
pytorch训练神经网络,出现下面错误。RuntimeError: CUDA error: CUBLAS_STATUS_EXECUTION_FAILED when calling `cublasSgemm( handle, opa, opblabel数量和最后一层分类器不匹配。(lll¬ω¬)
2022-01-22 05:53:30
3604
3
原创 pytorch c10.dll找不到
import torch.optim as optimFile "D:\Python38\lib\site-packages\torch\__init__.py", line 135, in <module>raise errOSError: [WinError 126] 找不到指定的模块。 Error loading "D:\Python38\lib\site-packages\torch\lib\c10.dll" or one of its dependencies.安装
2021-12-30 03:04:10
6709
1
原创 python 导入上级/隔壁目录包的方法
结论:需要在文件前面加上:import os, syssys.path.append(os.getcwd())例子:结构如下.├── a.txt├── cifar│├── cc.py│├── dd││└── dd.py│├── __init__.py│└── __pycache__│ ├── cc.cpython-36.pyc│ └── __init__.cpython-36.pyc├── cnn1.py...
2021-11-02 04:04:47
3790
1
原创 pytorch预训练模型预测自己的图片
没有金贵的GPU,用用巨头训练好的模型把自己的图片分分类。其中的 dog.JPG是自己需要预测的图片。imagenet_classes.txt在https://gist.github.com/ageitgey/4e1342c10a71981d0b491e1b8227328b代码如下:import torchimport numpyimport torch.nn as nnimport torch.nn.functional as Ffrom PIL import Imagefro
2021-07-10 23:24:53
2419
2
转载 Win10 安装Docker问题解决
转自https://itnext.io/install-docker-on-windows-10-home-d8e621997c1d我联想电脑预装的win10系统,装Docker出现题目问题。然后解决办法如下:If you ever tried to install Docker on Windows 10 Home Edition, you will run into this problem:Installation Failed: one prerequisite is not fulfi
2021-01-31 10:36:01
486
1
转载 最新 Ubuntu 安装Nvidia-Docker
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#installing-on-amazon-linuxInstalling on Ubuntu and DebianThe following steps can be used to setup NVIDIA Container Toolkit on Ubuntu LTS - 16.04, 18.04, 20.4 and Debia
2021-01-31 10:32:24
309
原创 Atom 修改Atom快捷键 实测可行
网上好多教程告诉怎么修改Atom快捷键,但是说的都不全。只能改官网的例子,自己想改的改不了,google了一堆,后来自己尝试才搞定。首先是File->settings->Keybingings然后在1处输入你想改的内容,输入的内容会自动匹配 keystroke 或者 command。然后你在2处找到他的selector,在5处找到他的command。然后点击4处的 your...
2020-03-16 04:24:05
578
原创 Android APK反编译 最新版 解决Could not decode arsc file
本人小白,初学Android,这不想着找点成熟的app看看,学习一下,就找到反编译了。拜读各位前辈大神的文章,弄啊弄,总是出现“Could not decode arsc file”的错误。擦擦,愁人啊,百度不行,就Google。捯饬啊捯饬。还真弄好了。记录一下吧,给其他人做做贡献。上Google找了个工具,感觉比Androidfby好些。就是这个:APK Studio。地址http://pa
2015-06-23 22:46:47
2701
libstdc++.so.6.0.22 or GLIBCXX_3.4.22 in tensorflow
2017-07-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人