Jiarui's Blog.

Jiarui's Blog.

Keep looking, don't settle.

Notes for using Linux
chmod1chmod [options] mode[,mode] file1 [file2 ...] Usual implemented options include: -R recursive, i.e. include objects in subdirectories -f force, forge ahead with all objects even if errors occur -v verbose, show objects processed 123$ ls -halFdrwxr-xr-x 1 root root 204 Jul 6 10:48 ./ 前三个是use...
Training on Deeplab FAQ
No module named deeplabThis is because you did not add the PYTHONPATH to your ~/.bashrc file. This can be solved by adding the following line in the end of ~/.bashrc file. 1export PYTHONPATH=$PYTHONPATH: /home/jiarui/models/research/:/home/jiarui/models/research/slim Error when running eval.pyErr...
Shell Scripts Notes
脚本文件开头在每个bash脚本的开头都使用#!,这用来告诉系统此文件的执行需要指定一个解释器。#!实际上是一个 2 字节的魔力数字,这是指定一个文件类型的特殊标记,换句话说, 在这里指是一个可执行的脚本(键入 man magic 来获得关于这个迷人话题的更多详细信息)。在#!之后接着是一个路径名,这个路径名指定了一个解释脚本中命令的程序,这个程序可以是 shell,其它编程语言或任意一个通用程序。这个指定的程序从头开始解释并且执行脚本中的命令(从#!行下边的一行开始),忽略注释。 如: 123456#!/bin/sh#!/bin/bash#!/usr/bin/perl#!/usr/bin...
Docker Command Notes
参考网页[1] Docker 入门教程 (全文拷贝自本文) [2] 删除本地镜像 [3] 使用 Dockerfile 定制镜像 (介绍了dockfile的各项内容) 介绍环境配置的难题软件开发最大的麻烦事之一,就是环境配置。用户计算机的环境都不相同,你怎么知道自家的软件,能在那些机器跑起来? 用户必须保证两件事:操作系统的设置,各种库和组件的安装。只有它们都正确,软件才能运行。举例来说,安装一个 Python 应用,计算机必须有 Python 引擎,还必须有各种依赖,可能还要配置环境变量。 如果某些老旧的模块与当前环境不兼容,那就麻烦了。开发者常常会说:”它在我的机器可以跑了”(It w...
Docker Install
参考网页[1] Ubuntu 安装 Docker CE [2] 官方文档 [3] Solving Docker permission denied while trying to connect to the Docker daemon socket 准备工作系统要求Docker CE 支持以下版本的 Ubuntu 操作系统: Artful 17.10 (Docker CE 17.11 Edge +) Xenial 16.04 (LTS) Trusty 14.04 (LTS) Docker CE 可以安装在 64 位的 x86 平台或 ARM 平台上。Ubuntu 发行版中,LTS(...
Git Command Notes
IntroductionGit 的三种状态Git 有三种状态,你的文件可能处于其中之一:已提交(committed)、已修改(modified)和已暂存(staged)。 已提交:表示数据已经安全的保存在本地数据库中。 已修改:表示修改了文件,但还没保存到数据库中。 已暂存:表示对一个已修改文件的当前版本做了标记,使之包含在下次提交的快照中。 由此引入 Git 项目的三个工作区域的概念:Git 仓库、工作目录以及暂存区域。 Git 仓库目录是 Git 用来保存项目的元数据和对象数据库的地方。 这是 Git 中最重要的部分,从其它计算机克隆仓库时,拷贝的就是这里的数据。 ...
Linux Command Notes
pip install1sudo pip install --upgrade --user dist Remember to always install with --user only. lsmodlsmod 命令在 Linux 中用来显示载入系统的功能模块。 Linux 操作系统的核心具有模块化的特性,因此在编译核心时,无需把全部的功能都放入核心。这些功能被编译成一个个单独的模块,待需要时再分别载入。 命令格式 lsmod 使用示例查看系统已加载的功能模块: lsmod 扩展知识lsmod 命令会输出 4 列数据,每列说代表的意思如下: 1234第 1 列表示模块的名称。如 scs...
Mapillary Vistas Dataset
Mapillary Vistas Dataset Overview 25,000 high-resolution images (split into 18,000 for training, 2,000 for validation, 5,000 for testing; at an average resolution of ~9 megapixels) with pixel-wise annotations from >2 million manually drawn polygons 100 object categories, 60 of those instance-...
Tensorflow and Python Learning Notes
glob – Filename pattern matchingtf.gfile.Globtf.gfile.Glob(filename) Returns a list of files that match the given pattern(s). Args: filename: string or iterable of strings. The glob pattern(s). Returns: A list of strings containing filenames that match the given pattern(s). Reference: https:...
Deeplab v3+ 在cityscapes数据集上测试笔记
Ubuntu16.04下Cuda安装为了让tensorflow在GPU下运行,需要安装cuda和cudnn。(太懒了,不想写) 参考网页 Ubuntu 16.04 上安装 CUDA 9.0 详细教程 DeepLab的准备、训练、测试参考网页[1] Deeplab v3 Github [2] 图像语义分割 DeepLab v3+ 训练自己的数据集 [3] 使用TensorFlow DeepLab进行语义分割 [4] Github: Running DeepLab on Cityscapes Semantic Segmentation Dataset 第2、3篇文章都是对voc数据集进行训练...
Jiarui
Keep looking, don't settle.