虚拟容器lxd安装anaconda之后菜单栏消失,终端也无法打开
有一次在容器中安装了anaconda,当时桌面是gnome,刚安装好之后没有问题,但是按照anaconda要求,进行了source ~/.bashrc之后,发现再进系统就没了顶部的菜单栏,并且在文件夹中右键打开终端也没反应。目前有两个解决方 […]
RAIDZ和镜像mirror之间的一些区别,以及为什么使用镜像进行块存储
ZFS是一个复杂而强大的系统。 RAIDZ(包括Z2,Z3)非常适合存储大型顺序文件。ZFS将为大量数据块分配连续的磁盘长时间段,将其压缩并以有效方式存储奇偶校验。当您以这种方式使用RAIDZ时,它会很好地利用可用的原始磁盘空间。但是,RA […]
离线安装homebrew|homebrew国内源安装加速
官方安装方法: /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)” 这种方法国内速度极慢,除非使 […]
YOLO v4 论文中英对照翻译 | YOLO v4全文翻译
YOLO V4终于有了衣钵传人,发布第一时间就拿来品尝了~下面是全文中英对照翻译,有时间进行一下精修! 未经允许,禁止转载! 2020 – YOLOv4 Optimal Speed and Accuracy of Object […]
中科院网盘关闭|中科院个人网盘凉凉~
今天想打开中科院网盘找一下之前存的文件,结果发现中科院个人网盘凉凉了~ 打开手机APP“团队文档库”,同样的,团队文档库也凉凉了~ 好吧,没想到后台这么硬的网盘,如今也凉凉了~还好之前没有在里面存什么重要文件。 大家也可以打开看看,是不是真 […]
RuntimeError: CUDA error: no kernel image is available for execution on the device (nms_cuda at /tmp/pip-req-build-c2_g4c3l/torchvision/csrc/cuda/nms_cuda.cu:127)
运行efficientdet-pytorch版的时候,出现以下错误:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
(eff) ubuntu@mcj:~/eff$ python efficientdet_test.py Traceback (most recent call last): File "efficientdet_test.py", line 77, in <module> threshold, iou_threshold) File "/home/ubuntu/eff/utils/utils.py", line 93, in postprocess anchors_nms_idx = nms(transformed_anchors_per, scores_per[:, 0], iou_threshold=iou_threshold) File "/home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torchvision/ops/boxes.py", line 33, in nms return _C.nms(boxes, scores, iou_threshold) RuntimeError: CUDA error: no kernel image is available for execution on the device (nms_cuda at /tmp/pip-req-build-c2_g4c3l/torchvision/csrc/cuda/nms_cuda.cu:127) frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 0x6d (0x7ffbbee24e7d in /home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torch/lib/libc10.so) frame #1: nms_cuda(at::Tensor const&, at::Tensor const&, float) + 0x8d1 (0x7ffb9554ae96 in /home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torchvision/_C.so) frame #2: nms(at::Tensor const&, at::Tensor const&, float) + 0x183 (0x7ffb9550ee9f in /home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torchvision/_C.so) frame #3: <unknown function> + 0x79cbd (0x7ffb95528cbd in /home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torchvision/_C.so) frame #4: <unknown function> + 0x76578 (0x7ffb95525578 in /home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torchvision/_C.so) frame #5: <unknown function> + 0x70ce6 (0x7ffb9551fce6 in /home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torchvision/_C.so) frame #6: <unknown function> + 0x70f8a (0x7ffb9551ff8a in /home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torchvision/_C.so) frame #7: <unknown function> + 0x5be18 (0x7ffb9550ae18 in /home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torchvision/_C.so) <omitting python frames> frame #25: __libc_start_main + 0xe7 (0x7ffbeb884b97 in /lib/x86_64-linux-gnu/libc.so.6) |
解决方法: 对cuda进行降级,从10.x降级为9.2:conda install cudatoolki […]
ImportError: cannot import name ‘PILLOW_VERSION’
报错:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
(eff) ubuntu@mcj:~/eff$ python efficientdet_test.py Traceback (most recent call last): File "efficientdet_test.py", line 11, in <module> from backbone import EfficientDetBackbone File "/home/ubuntu/eff/backbone.py", line 8, in <module> from efficientdet.model import BiFPN, Regressor, Classifier, EfficientNet File "/home/ubuntu/eff/efficientdet/model.py", line 3, in <module> from torchvision.ops.boxes import nms as nms_torch File "/home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torchvision/__init__.py", line 4, in <module> from torchvision import datasets File "/home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torchvision/datasets/__init__.py", line 9, in <module> from .fakedata import FakeData File "/home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torchvision/datasets/fakedata.py", line 3, in <module> from .. import transforms File "/home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torchvision/transforms/__init__.py", line 1, in <module> from .transforms import * File "/home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torchvision/transforms/transforms.py", line 17, in <module> from . import functional as F File "/home/ubuntu/anaconda3/envs/eff/lib/python3.6/site-packages/torchvision/transforms/functional.py", line 5, in <module> from PIL import Image, ImageOps, ImageEnhance, PILLOW_VERSION ImportError: cannot import name 'PILLOW_VERSION' |
解决: 本文最后更新于2020年4月20日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!
待办事项和日历事件的区别是什么?
最近在知乎上看到一篇关于解释待办事项和日历事件之间区别的文章,读完之后感觉解释的很清楚,特意转载过来供大家学习 很多学习时间管理人一直弄不清日历和清单有什么区别,大多数GTD软件并没有提供日历视图,但每个GTD软件都可以给代办事项加上时间, […]
斐讯K2路由器刷高格固件教程
家里有台斐讯K2路由器(都是泪),最近带宽升级到300M,之前用的斐讯原版固件不好用,打算升级一下固件。 下面是需要下载的工具: K2_V22.6.506.28.bin Breed k2高恪breed底包 k2高恪升级包 首先注意一点,这些 […]
Alfred的印象笔记workflow插件使用说明
做个备份,下载地址见文末。 使用说明 搜索 关键词 Keywords Explain e.g. ens 在所有笔记中搜索 ens my query… ens @ : 在指定的笔记本中搜索 ens @MyFirstNotebook : […]