Torch series: How to use Tensorboard in torch

Source: Internet
Author: User
Tags lua docker run
Torch can also be used Tensorboard, through the installation of crayon can be

Below under the installation of Ubuntu for example to explain the installation process will still encounter a lot of twists and turns of the process

mainly for

① installation crayon will prompt for libssl.so files to be found, so you can add openssl_libdir=/usr/lib/x86_64-linux-gnu/to tell Luarocks,ssl the path to the library file.

②docker will use foreign addresses when downloading mirrors, so you need to replace the Docker mirror.
The installation process is given below: (1) Installing the Crayon Torch End
Luarocks Install Crayon openssl_libdir=/usr/lib/x86_64-linux-gnu/


(2) Installation Docker
sudo apt install Docker.io


(3) Set the mirror of Docker for the domestic mirror https://registry.docker-cn.com
sudo vim/etc/docker/daemon.json
Posted as follows:
{
"Registry-mirrors": ["https://registry.docker-cn.com"]
}

(4) Restart Docker service
sudo service docker restart

(5) Image of the service side of the download mirror crayon
Sudo-h Docker run-d-P 8888:8888-p 8889:8889--name Crayon Alband/crayon

(6) Add code in LUA to record loss or accuracy

Here's a sample: Https://github.com/torrvision/crayon/blob/master/client/lua/README.md#usage-example



Reference:

Https://github.com/torrvision/crayon

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.