GithubHelp home page GithubHelp logo

colab-tricks's Introduction

Google Colaboratory tips and tricks

image

Hi, ghost of Billy Mays here with some fantastic new products:


# ngrok-tricks.ipynb

Open In Colab

Have you ever wanted to...

  • SSH into a Colab instance?
  • View Tensorboard while you're training?
  • Use rsync to upload a bunch of files to a Colab instance?
  • Use rsync to download a bunch of results without using Colab's annoying web interface?

... then click here for a step-by-step walkthrough!

# Scraping via Headless Chrome

Want to capture a screenshot of a webpage, then morph it into a face using StyleGAN? Me neither! But now you can:

https://twitter.com/pablorosales/status/1195121096904839173

# Attention, your attention please!

All you've ever wanted to know about attention in ML. Four great notebooks that will leave you wanting four more:

https://twitter.com/zaidalyafeai/status/1196896576339431425

# YOLO

Slice and dice your images! Real-time image segmentation via YOLACT++:

https://twitter.com/mrm8488/status/1206996284311298048

# Artisan TPUs

Call 1-800-LOL-TPUS to order our limited-edition handcrafted artistan TPUs.

# Testimonials

"What's a TPU?" -- John Titor


Don't delay; train today!

Twitter: @theshawwn

colab-tricks's People

Contributors

shawwn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

colab-tricks's Issues

Can not start view Tensorboard

Hello, I have a problem when run the cell "How to view tensorboard" in google colab in the picture below. I use connect GPU and actually I don't use Tensorflow but instead I am trying to connect to localhost of visdom view board, and I found your instructions. Hope you can help me. Thank you very much.
image

nvidia-smi problem after SSH into Colab

Thank you for great tips about SSH into Colab at ngrok-tricks.ipynb.

I encountered one problem. For the command nvidia-smi, in the Colab notebook:

Fri Mar 20 00:58:40 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.64.00    Driver Version: 418.67       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla P100-PCIE...  Off  | 00000000:00:04.0 Off |                    0 |
| N/A   40C    P0    28W / 250W |      0MiB / 16280MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
Your runtime has 27.4 gigabytes of available RAM

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:01_CDT_2018
Cuda compilation tools, release 10.0, V10.0.130

But on my Mac, after SSH into Colab

$ ssh -p 10055 [email protected] -i ~/.ssh/id_rsa_colab
Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 4.14.137+ x86_64)
.....
root@118ff34f0bd4:~# nvidia-smi; /usr/local/cuda/bin/nvcc --version
Failed to initialize NVML: Driver/library version mismatch
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:01_CDT_2018
Cuda compilation tools, release 10.0, V10.0.130
root@118ff34f0bd4:~#

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.