Browse Source

paths

new-sep-loss
Michael Pilosov, PhD 10 months ago
parent
commit
90f08a5edb
  1. 2
      scripts/place.sh
  2. 4
      scripts/sortcolor.py

2
scripts/place.sh

@ -11,7 +11,7 @@ TYPE=circle
OUTPUT_IMAGE="${DIR}/${TYPE}_composite_grid.png" OUTPUT_IMAGE="${DIR}/${TYPE}_composite_grid.png"
DPI=100 DPI=100
CANVAS_SIZE=$((72*$DPI)) # 72 inches CANVAS_SIZE=$((72*$DPI)) # 72 inches
CIRCLE_IMAGE="${DIR}/hsv_sorted_colors_circle.png" CIRCLE_IMAGE="${DIR}/hsv/_sorted_colors_circle.png"
identify $CIRCLE_IMAGE identify $CIRCLE_IMAGE

4
scripts/sortcolor.py

@ -38,10 +38,10 @@ DIR = "/teamspace/studios/this_studio/out_sortcolors"
prefix = "" prefix = ""
if KIND == "umap": if KIND == "umap":
prefix = f"{SEED:04d}" prefix = f"{SEED:04d}_"
FDIR = f"{DIR}/{KIND}" FDIR = f"{DIR}/{KIND}"
Path(FDIR).mkdir(exist_ok=True, parents=True) Path(FDIR).mkdir(exist_ok=True, parents=True)
fname = f"{FDIR}/{prefix}_sorted_colors_circle.png" fname = f"{FDIR}/{prefix}sorted_colors_circle.png"
def peano_curve(n): def peano_curve(n):

Loading…
Cancel
Save