Skip to content

Instantly share code, notes, and snippets.

View dpalmisano's full-sized avatar

Davide Palmisano dpalmisano

View GitHub Profile
@dpalmisano
dpalmisano / tf-on-m1-gpu.md
Last active February 12, 2023 20:58
Install TensorFlow on MacOSX (M1) to properly use GPU

How to install Tensorflow on Mac OSX (M1)

Installing Tensorflow to make sure it properly detects the GPU on M1 machines it's cumbersome.

Apple provides a solution that needs conda. If you don't want to install miniconda and prefer a more lightweight solution you can follow those steps. Instead we present here a solution that uses Python native virtual environments.

  1. Install hdf5 with brew install hdf5
  2. Create a virtual enviroment python3 -m venv /tf-gpu-m1
@dpalmisano
dpalmisano / blinnenhorn.md
Last active June 23, 2022 20:56
Lago dei Sabbioni e Blinnenhorn

Blinnenhorn (Corno Cieco) 3374 msl - 19km - 1750 dislivello

Percorso indicativo:

Giorno 1: Partenza da Morasco (parcheggio alla fine della SS Val Formazza), diga del lago Morasco, Lago dei Sabbioni, Rifugio Cesare Mores (probabilmente chiuso), Rifugio Claudio e Bruno. (tempo 3h 30m)

Giorno 2: Ascesa al Blinnenhorn (2h 30m), discesa fino al Rifugio Città di Busto, giro intorno, pernottamento.

Giorno 3: Discesa a valle e ritorno alla civiltà.

╔═════════════════════╔═════════╦═════════════╦════════════╗
║ Location \ Language ║ English ║ Non-English ║ All tweets ║
╠═════════════════════╬═════════╬═════════════╣════════════╣
║ Inner London ║ 54610 ║ 4929 ║ 59536 ║
║ Outer London ║ 16542 ║ 921 ║ 17463 ║
║ All tweets ║ 71152 ║ 5847 ║ 76999 ║
╚═════════════════════╩═════════╩═════════════╩════════════╝