Link to the original text :https://github.com/richzhang/colorization

The steps are basically in accordance with Installation The instructions in

1. Install dependency library

1.1Python Correlation Library

Python libraries (numpy, pyplot, skimage, scipy). Relevant command :

sudo apt-get install python
sudo apt-get install python-numpy
sudo apt-get install python-matplotlib
sudo apt-get install python-scipy

1.2python Of ipython notebook

2. install caffe

Main reference for installation steps Caffe stay Ubuntu 14.04 64bit Installation below and caffe Official installation documentation

explain : According to the situation of your own machine Makefile.config Set in the

  • Dependencies

    sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev
  • install ATLASsudo apt-get install libatlas-base-dev
  • compile . Because I only use CPU So pay attention to the official instructions For CPU-only Caffe, uncomment CPU_ONLY := 1 in Makefile.config. Then compile as follows
cp Makefile.config.example Makefile.config
# Adjust Makefile.config ( Modify according to the condition of the machine )
make all
make test
make runtest
  • test . The command in the terminal is as follows . If no error is reported, the installation is successful
python
import caffe

3. Specific configuration

Basically according to Project website Installation Set up

  • follow project

    git clone -b master --single-branch https://github.com/richzhang/colorization.git
  • cd To demo Directory cd ~/colorization/demo
  • function ipython notebook ipython notebook. It will automatically extract demo In the directory colorization_demo_v0.ipynb And run it in the browser . Click the corresponding code and click the run button to run the corresponding code block .

Colorful Image Colorization More related articles on environment configuration of

  1. uboot Environment configuration

    uboot Environment configuration By configuring uboot Let it start from tftp Get the kernel and device tree , And from after loading the kernel, the boot parameter will " from nfs Mount the root file system " Into the kernel . This configuration is mainly through uboot ...

  2. In the history of the most complete Windows Build and install the version React Native Environment configuration

    In the history of the most complete Windows Build and install the version React Native Environment configuration Configured React Native  We all know about the environment , stay Windows React Native There are a lot of pits to jump in the environmental configuration , In order to help the novice quickly ...

  3. Electron Environment configuration of

    Original address http://huisky.com/blog/161218121551123 This paper introduces Electron Environment configuration of , Include Electron download .nodejs Download and install .NPM+Bower Installation configuration . ...

  4. Python Development environment configuration

    I haven't blogged for a long time , since 6 After graduation in , Enter a calligraphy company . An Internet company promoting calligraphy and painting culture (www.manyiaby.com), Front end development has been going on all this time , There is little use of the back end , What's going on all day html.css.jav ...

  5. PHP_ Environment configuration _python Script _2017

    Apache To configure Need to install :VC2015 httpd-2.4.16-win32-VC14.zip VC14 Namely 2015 Environment . And such as :php-5.6.12-Win32-VC11-x86 VC11 Namely ...

  6. PHP Environment configuration

    PHP Environment configuration 1.Apache Installation First step : 1.    double-click httpd-2.2.17-win32-x86-no_ssl.msi. appear Windows Standard software installation welcome interface , Direct point “Next” Following ...

  7. Visual studio Common development environment configuration :SDL,FFMPEG For example

    introduction every last C++ The use of libraries starts with the configuration of the development environment , In fact, the configuration process of each library is similar , To sum up, there are the following steps : Download library files , This assumes that it has been precompiled . The included directory of the configuration library file (include) And Ku ...

  8. windows 7 Next React Native Environment configuration

    React Native yes Facebook It's a product of Java Languages can be written at the same time ios,android, And a backstage Technology , It can be hot updated in real time .FaceBook Also known as this technology is “Le ...

  9. seL4 Environment configuration

      Reprint statement : I hope you can gain knowledge from here , I can also experience the hard work of bloggers . Personal blogs are weak , There are not a few examples of forced transfer and even reprint of blog visits higher than the original . Hope to get everyone's attention at the same time , I can also understand the blogger a little bit ...

Random recommendation

  1. Memcached Use notes

    This article is a brief record of Windows Installation and configuration under the platform Memcached Methods ,Memcached Is a high performance distributed memory object caching system , For dynamic Web Application to reduce database load . 1. download Memcached ...

  2. 【LeetCode Exercises 】Merge k Sorted Lists

    Merge k Sorted Lists Merge k sorted linked lists and return it as one sorted list. Analyze and descr ...

  3. XISE kitchen knife V21.0 Official website XISE kitchen knife VIP Cracked versions XISE Official website

    interpretation : 1. Crack VIP Landing restrictions 2. Go to the back door ( self-examination ) Download address : https://pan.baidu.com/s/1skUqlGD https://pan spot baidu spot com/s/1skUqlGD ...

  4. about group by and order by And use Analysis of

    Today, my friend asked me a question sql Inquire about . Demand is find idapi The latest data , explain idapi It's repetitive , So I simply wrote SELECT * FROM `ag_alarm_history`   group by ` ...

  5. JS Basic knowledge points

    I found a good thing recently , The nuggets pamphlets , I think the contents are very good , Prepare to read it carefully , Improve yourself . Make a note of , Feel free to impress , The main content comes from the booklet . The original type Primitive types also become basic data types boolean null ...

  6. Introduction of prototype design software ——Axure RPx

    What I use personally is Axure RP8 edition The main page after entering ( Chinese version ), You can see the function bar above , Zoom function , In the lower left corner are some of the components built into the software I drag a rectangle into the catalog on the left , Defined as 640*960 Pixel , And put the rectangle ...

  7. note :Zygote and SystemServer Process startup process

    sketch Android During device startup , First, Linux The kernel is loaded , next Android The first process in init start-up , It will start some processes that need to be started . Zygote Is the process init Started up .Android Zhongsuo ...

  8. The way to optimize the front end performance --SSR( Server rendering )

    Nuxt.js Introduction to Nuxt.js summary nuxt.js In short Vue.js The general framework of , The most commonly used is for SSR( Server-side rendering ).Vue.js It's development SPA( A single page application ) Of ,Nuxt.js This framework , use V ...

  9. SQL Optimization series —— Indexes

    Indexing is probably the most misunderstood topic in databases , Because there are so many ways to get confused about how indexes work , And how the server uses them . To design indexes correctly , Let the index satisfy the following three important purposes in the database server :1, Index enables the server to look up a set of adjacent rows , Not a single line ...

  10. JSP— Scope

    application: Used in the same application , Data sharing between all users Scope : request Scope : Forward on the page , Inclusion also works . <% pageContext.include("te ...