
Error
LiuPig刘皮哥
所有资源直接免费,外链Github。我有时会在博客中直接转载别人的博客,是因为我在做记录和资源整合,向被我转载的人致谢。我面向的是国内初学者和不能去外面看的朋友,大佬直接略过就行。
展开
-
vs code 找不到任务“build“。
看看tasks.json是否有这个,没有就写一个,有可能名字不对,需要修改为"label": “xxx”, xxx同名。(帮你把项目docker build 一下)每次运行向前会跑这个task,原创 2022-10-27 15:15:10 · 6271 阅读 · 2 评论 -
docker or podman error
Warning: DOCKER_HOST environment variable overrides the active context. To use a context, either set the global --context flag, or unset DOCKER_HOST environment variable.原创 2022-10-26 15:47:39 · 326 阅读 · 0 评论 -
CSharp: Ambiguous project name
还有就是:【https://qa.1r1g.com/sf/ask/3298848451/】我两个包里面的.csproj 中的PackageId相同了,改一个就好zZZZZZ。原创 2022-09-22 20:45:55 · 336 阅读 · 0 评论 -
安装GPU版本pytorch教程
源: https://blog.youkuaiyun.com/weixin_40431584/article/details/105119633pip install https://download.pytorch.org/whl/cu90/torch-1.1.0-cp37-cp37m-win_amd64.whl -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.compip3 install https://do原创 2022-03-23 22:17:02 · 375 阅读 · 0 评论 -
ERROR: torch has an invalid wheel, .dist-info directory not found
如果您不需要 CUDA 安装阿里云更快:如果您需要安装 CUDA阿里云更快:原链接:https://stackoverflow.com/questions/65191751/error-torch-has-an-invalid-wheel-dist-info-directory-not-found原创 2022-03-23 20:02:44 · 8798 阅读 · 5 评论 -
RuntimeError: Error(s) in loading state_dict for Generator:
net.load_state_dict(weights)#修改为net.load_state_dict(weights,strict=False)原创 2022-02-21 20:50:51 · 1055 阅读 · 0 评论 -
关于 Windows 10 锁屏、睡眠后无法解锁的解决方法
原链接治标不治本的方法就是:断网,输入密码就好了。原创 2022-02-21 20:05:05 · 1324 阅读 · 0 评论 -
python hash结果不一致
[https://www.cnblogs.com/yzhch/p/11855660.html]在同一个程序运行过程中,单进程下,hash同一个字符串,结果是否一致。 答案:一致在同一个程序运行过程中,多进程中,不同子进程hash同一个字符串,结果是否一致。答案:一致同样的代码,多次运行同一个程序,每次运行程序时,hash同一个字符串,产生的结果和其他运行过程产生的结果是否一致。答案:不一致[https://www.zhihu.com/question/57526436/answer/15324102原创 2022-01-19 17:10:18 · 1536 阅读 · 0 评论 -
ffmpy.FFExecutableNotFoundError: Executable ‘ffmpeg‘ not found
ffmpy.FFmpeg()中传递带有ffmpeg可执行文件路径的可执行参数。from ffmpy import FFmpegexe = r'D:\xxxx\FFmpeg\ffmpeg-master-latest-win64-gpl-shared\bin\ffmpeg.exe'ff = FFmpeg(executable=exe, inputs={video_path: None}, outputs={audio_path: '-f {} -vn'.format(fo原创 2022-01-12 20:26:22 · 6690 阅读 · 0 评论 -
很抱歉遇到一些临时服务器问题
win搜索:internet 选项连接–> 局域网设置自动选择设置,确定原创 2022-01-10 17:59:42 · 1984 阅读 · 0 评论 -
git fetch-pack: invalid index-pack output
git fetch --all --prune原创 2022-01-10 14:40:13 · 2889 阅读 · 0 评论 -
NotImplementedError: Cannot convert a symbolic Tensor (strided_slice:0) to a numpy array.
numpy有问题pip install numpy==1.19.2原创 2021-12-29 19:02:37 · 1050 阅读 · 0 评论 -
No module named ‘azure.storage.blob.aio‘
pip install azure-storage-blob==12.1.0原创 2021-12-22 11:07:01 · 514 阅读 · 0 评论 -
ImportError: cannot import name ‘ServiceBusClient‘ from ‘azure.servicebus‘
由版本不兼容引起的,需要低版本pip install azure-servicebus==7.0.0原创 2021-12-22 10:50:29 · 241 阅读 · 0 评论 -
import tensorflow.contrib.slim as slim
在tensorflow2.0中没有slim有什么替代方案吗?安装tf_slim库pip install tf_slim使用:# import tensorflow.contrib.slim as slimimport tf_slim as slim原创 2021-12-13 14:07:27 · 3757 阅读 · 0 评论