A simple breathing text animation.
A Pen by Tanner Dolby on CodePen.
A simple breathing text animation.
A Pen by Tanner Dolby on CodePen.
# https://stackoverflow.com/a/64006242/9292995 | |
# https://github.com/jfilter/split-folders | |
import splitfolders | |
# If your datasets is balanced (each class has the same number of samples), use ratio | |
# otherwise use fixed if dataset is imbalanced. | |
splitfolders.ratio('input_dir', output="output_dir", oversample=False, ratio = (0.8, 0.1, 0.1), | |
seed=1337) | |
# https://www.tensorflow.org/datasets/api_docs/python/tfds/folder_dataset/ImageFolder |
import os | |
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3" | |
import gc | |
import subprocess | |
import random | |
import numpy as np | |
import pandas as pd | |
import seaborn as sns | |
import matplotlib.pyplot as plt |
import os | |
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3" | |
import gc | |
import subprocess | |
import random | |
import numpy as np | |
import pandas as pd | |
import seaborn as sns | |
import matplotlib.pyplot as plt |
(async function executeInstagramPostCollection(maxPosts = 10) {
console.log(`Starting Instagram post collection (limit: ${maxPosts} posts)...`);
// Verify we're on Instagram
if (!window.location.hostname.includes('instagram.com')) {
console.error("This script should be run on Instagram.com");
return;
}
GitHub Gist Files:
Contains the main script provided.
telethon
pandas