Skip to content

Instantly share code, notes, and snippets.

View bonlime's full-sized avatar

bonlime

  • Moscow
View GitHub Profile
TsvHttpData-1.0
https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter-plus-face_sd15.safetensors
// Описание и настройки скрипта: https://www.all-connect.site/spreadsheets_scripts/binance-future-coin-m
// Версия от 12.10.2021
// modified by bonlime on 29.12.2021
// added BNB to total asset calculation. this could lead to misleading growth in case of BNB price growth
// but this is still better than totally excluding it
// upd. on 11.01.2022
// returned margin calculation (but I still don't really undestand what it means)
const sheet = "1X................UF4"; // id вашей гугл-таблицы
const key_fut_M = "QY.........qjy"; //Ключ доступа фьючерсы Coin
@bonlime
bonlime / get_Imagenet.sh
Last active December 19, 2024 09:31 — forked from BIGBALLON/extract_ILSVRC.sh
script for ImageNet data extract.
#!/bin/bash
#
# script to fully prepare ImageNet dataset
## 1. Download the data
# get ILSVRC2012_img_val.tar (about 6.3 GB). MD5: 29b22e2961454d5413ddabcf34fc5622
# wget https://image-net.org/data/ILSVRC/2012/ILSVRC2012_img_val.tar
# get ILSVRC2012_img_train.tar (about 138 GB). MD5: 1d675b47d978889d74fa0da5fadfb00e
# wget https://image-net.org/data/ILSVRC/2012/ILSVRC2012_img_train.tar
Cover/33077.jpg 0
Cover/42299.jpg 0
Cover/03378.jpg 0
Cover/78530.jpg 0
Cover/22080.jpg 0
Cover/74201.jpg 0
Cover/47159.jpg 0
Cover/35867.jpg 0
Cover/79140.jpg 0
Cover/60355.jpg 0
FROM nvcr.io/nvidia/pytorch:20.03-py3
# base setup
RUN apt-get update --fix-missing && \
apt-get install --no-install-recommends \
libsm6 libxext6 libxrender-dev \
wget software-properties-common pkg-config build-essential \
libglu1-mesa -y && \
apt-get autoremove -y && apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
name: "SINT"
input: "data"
input_shape {
dim: 1
dim: 3
dim: 512
dim: 512
}