colab
文章平均质量分 56
fwyynl
在躺平和上进中仰卧起坐
展开
-
colab上安装caffe,各种cannot find xxx的情况
跑代码Instance-aware Semantic Segmentation via Multi-task Network Cascades 需要用到caffe,阅读README.md Clone the MNC repository: # Make sure to clone with --recursive git clone --recursive https://github.com/daijifeng001/MNC.git Install Python packages: numpy,原创 2021-07-29 22:37:15 · 1103 阅读 · 0 评论 -
Colab运行detectron2 demo
import os path = "/content/drive/My Drive/detectron2-master" os.chdir(path) os.listdir(path) !ls 进入云盘下载下来的代码文件夹中,本文跑FAIR给的github上的demo 按照官方给的install指南安装 然后getting started,在这一步中, cd demo/ python demo.py --config-file ../configs/COCO-InstanceSegmentati.原创 2021-07-16 12:21:35 · 1402 阅读 · 1 评论 -
Google colab创建挂载和使用,跑gpu的ResNeXt
先要有一个google的admin账号,一开始用的学校的账号,下不了,真的贼无语 google drive里创建一个google colaboratory,然后挂载 from google.colab import drive drive.mount('/content/gdrive') 我用的TensorFlow 2.0以后的版本 %tensorflow_version 2.x device_name = tf.test.gpu_device_name() if device_name !原创 2021-07-15 23:02:26 · 294 阅读 · 0 评论