Skip to content

Instantly share code, notes, and snippets.

View vitorcalvi's full-sized avatar
🎯
Focusing

Carlos Vitor Botti Calvi vitorcalvi

🎯
Focusing
View GitHub Profile
@vitorcalvi
vitorcalvi / Dockerfile
Last active May 6, 2024 09:13
TensorFlow and Pytorch via JupyterLab on Dockerc no password
FROM tensorflow/tensorflow:2.14.0-gpu
ARG BUILD_DATE
ENV PORT 8888
LABEL org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.vendor="Diego, Rincon-Yanez" \
org.opencontainers.image.title="Tensorflow GPU Jupyter" \
org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.version="2.9.3" \
@vitorcalvi
vitorcalvi / vaiiii.txt
Last active May 18, 2024 09:41
micromamba Ros2 MAC
#### Source
https://robostack.github.io/GettingStarted.html#__tabbed_1_2
# Install gazebo Mac
curl -ssL http://get.gazebosim.org | sh
# Create a ros-humble desktop environment
micromamba create -n ros_env -c conda-forge -c robostack-staging ros-humble-desktop
@vitorcalvi
vitorcalvi / jupyter-ollama-GPU-Metal.md
Last active May 13, 2024 20:49
Jupyter Notebook Tensorflow Mac

TF JUPYTER LAB MAC METAL

conda create --name ollama python=3.10 -y && conda activate ollama && 
conda install -c apple tensorflow-deps -y && pip install tensorflow-macos && pip install tensorflow-metal && conda install notebook -y && pip install numpy  --upgrade && pip install pandas  --upgrade && pip install matplotlib  --upgrade && pip install scikit-learn  --upgrade && pip install scipy  --upgrade && pip install plotly  --upgrade && pip install jupyterlab && 
pip3 install chardet && conda activate ollama && sudo mkdir /Users/vitorcalvi/Desktop/JupyterNotebooks

Jupiter lab