Skip to content

Instantly share code, notes, and snippets.

View dcstang's full-sized avatar
🎯
Focusing

David T dcstang

🎯
Focusing
View GitHub Profile
#!/bin/bash
# using google's cwebp
# https://developers.google.com/speed/webp/docs/cwebp
# -q for quality setting from 0 to 100
# converting JPEG images
find $1 -type f -and \( -iname "*.jpg" -o -iname "*.jpeg" \) \
-exec bash -c '
webp_path=$(sed 's/\.[^.]*$/.webp/' <<< "$0");
if [ ! -f "$webp_path" ]; then
@dcstang
dcstang / environment.yml
Created April 27, 2021 21:37
Tensorflow Yaml Example
name: tensorflow_env_388
channels:
- conda-forge
- defaults
dependencies:
- python=3.8.8
- pip=21.0.1
- numpy=1.19
@dcstang
dcstang / embeddings_projector.md
Last active April 25, 2021 07:50
Medical Text Embeddings Projector