Skip to content

Instantly share code, notes, and snippets.

View ramgendeploy's full-sized avatar
🏠
Working from home

Ramiro ramgendeploy

🏠
Working from home
View GitHub Profile
@ramgendeploy
ramgendeploy / slerp_diffusion.py
Created December 21, 2022 02:22
Slerp vectors
# Install the required libs
# pip install -qq git+https://github.com/huggingface/diffusers.git accelerate tensorboard transformers ftfy gradio
# pip list | grep transformers
# pip install transformers==4.22.2
# pip install -qq "ipywidgets>=7,<8"
# pip install -qq bitsandbytes
import argparse
import itertools
Date Close/Last Volume Open High Low
10/15/2021 $144.84 67940330 $143.77 $144.895 $143.51
10/14/2021 $143.76 69907100 $142.11 $143.88 $141.51
10/13/2021 $140.91 78762720 $141.235 $141.4 $139.2
10/12/2021 $141.51 73035860 $143.23 $143.25 $141.0401
10/11/2021 $142.81 64452220 $142.27 $144.81 $141.81
10/08/2021 $142.9 58773160 $144.03 $144.1781 $142.56
10/07/2021 $143.29 61732660 $143.06 $144.215 $142.72
10/06/2021 $142 83221120 $139.47 $142.15 $138.37
10/05/2021 $141.11 80861060 $139.49 $142.24 $139.36
@ramgendeploy
ramgendeploy / imagenet1000_clsidx_to_labels.txt
Created February 25, 2020 17:35 — forked from yrevar/imagenet1000_clsidx_to_labels.txt
text: imagenet 1000 class idx to human readable labels (Fox, E., & Guestrin, C. (n.d.). Coursera Machine Learning Specialization.)
{0: 'tench, Tinca tinca',
1: 'goldfish, Carassius auratus',
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias',
3: 'tiger shark, Galeocerdo cuvieri',
4: 'hammerhead, hammerhead shark',
5: 'electric ray, crampfish, numbfish, torpedo',
6: 'stingray',
7: 'cock',
8: 'hen',
9: 'ostrich, Struthio camelus',