logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

conda安装pycuda

因为需要,开始入坑cuda,习惯了使用C语言写算法的我表示很懵逼…可能会出现一些问题,最大的原因还是conda的版本高了,最新的conda版本为3.7,而pycuda支持到3.6,所以,需要创建一个低版本的虚拟环境:见conda创建虚拟环境使用pip 命令直接安装即可:pip install pycuda...

#pip#傅立叶分析
libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast

使用wine,打开微信和QQ的时候提示以下两个错误:libGL error: No matching fbConfigs or visuals foundlibGL error: failed to load driver: swrast参考了很多方法,并没有起到作用,最后找到了这个:https://askubuntu.com/questions/834254/steam-libgl-error-

libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast

使用wine,打开微信和QQ的时候提示以下两个错误:libGL error: No matching fbConfigs or visuals foundlibGL error: failed to load driver: swrast参考了很多方法,并没有起到作用,最后找到了这个:https://askubuntu.com/questions/834254/steam-libgl-error-

ValueError: x and y must have same first dimension

使用matplotlib进行图形绘制,在执行plt.plot(x,y)的时候,遇见:ValueError: x and y must have same first dimension, but have shapes (19,) and (20,)解决办法:错误提示是x,y两个的维度不一致,一个是19, 另一个是20,因此,将x,y的变量值改为相同的个数即可。...

#大数据
pytorch之模型迁移

参考的书目为《深度学习之pytorch实战计算机视觉》将猫狗大战中写好的VGGNet模型替换为VGG16,ResNet模型,前面首先给出完整的VGGNet模型代码,之后分别给出最另外两个模型的修改位置,并进行标注说明:import torchimport torchvisionfrom torchvision import datasets, transformsimport torch...

#深度学习#pytorch#神经网络 +1
install libgtk2.0-dev and pkg-config

opencv莫名出现该问题error: (-2) The function is not implemented. Rebuilt the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-ru

#opencv
”dpkg: 处理归档 /var/cache/apt/archives/XXXXXX(--unpack)时出错“的解决方法+ubuntu软件包损坏修复

在安装ROS时出现了下面的问题:解决方法:sudo dpkg -i --force-overwrite <filename>在我的问题中我的解决方法是:sudo dpkg -i --force-overwrite /var/cache/apt/archives/python-rospkg-modules_1.1.7-1_all.deb接着运行:sudo apt-get -f insta

#opencv#ubuntu
pymol的正确安装方式

安装pymol走了不少弯路,写个文档避免后来人走坑。推荐使用环境:Anaconda一、anaconda下载安装anaconda集成了python开发所需要的的大部分安装包,可以通过添加国内镜像源,提升其下载的速度。1.1anaconda下载:下载链接:添加链接描述根据自己的电脑情况,下载安装合适的版本:安装时建议将安装路径添加到系统变量中去。1.2国内源替换方式:推荐使用清华源conda conf

#python
ModuleNotFoundError: No module named ‘importlib_metadata‘

Jupyter server process finishedTraceback (most recent call last):File "/home/wgj/anaconda3/lib/python3.7/site-packages/jsonschema/__init__.py", line 31, in <module>from importlib import metadata

#jupyter
    共 15 条
  • 1
  • 2
  • 请选择