-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99222ad
commit 91a4749
Showing
24 changed files
with
503 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
tag: "open_clip" | ||
|
||
eval_checkpoint: "/path-to-ckpt/lightning_logs/version_0/checkpoints/epoch-to-eval/" | ||
eval_checkpoint_cfg: "/path-to-ckpt/lightning_logs/version_0/config.yaml" | ||
load_dir: "./models" | ||
|
||
baseline_model: "dino_vitb16,clip_vitb16,open_clip_vitb16" | ||
baseline_feat_type: "cls,embedding,embedding" | ||
baseline_stride: "16,16,16" | ||
|
||
nights_root: "./data/nights" | ||
bapps_root: "./data/2afc/val" | ||
things_root: "./data/things/things_src_images" | ||
things_file: "./data/things/things_valset.txt" | ||
|
||
batch_size: 256 | ||
num_workers: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
tag: "clip" | ||
|
||
eval_checkpoint: "/path-to-ckpt/lightning_logs/version_0/checkpoints/epoch-to-eval/" | ||
eval_checkpoint_cfg: "/path-to-ckpt/lightning_logs/version_0/config.yaml" | ||
load_dir: "./models" | ||
|
||
baseline_model: "clip_vitb32" | ||
baseline_feat_type: "cls" | ||
baseline_stride: "32" | ||
|
||
nights_root: "./data/nights" | ||
bapps_root: "./data/2afc/val" | ||
things_root: "./data/things/things_src_images" | ||
things_file: "./data/things/things_valset.txt" | ||
|
||
batch_size: 256 | ||
num_workers: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,5 @@ epochs: 6 | |
margin: 0.05 | ||
|
||
lora_r: 16 | ||
lora_alpha: 0.5 | ||
lora_alpha: 8 | ||
lora_dropout: 0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
mkdir -p ./dataset | ||
cd dataset | ||
|
||
mkdir -p ref | ||
mkdir -p distort | ||
|
||
# Download NIGHTS dataset | ||
for i in $(seq -f "%03g" 0 99); do | ||
wget https://data.csail.mit.edu/nights/nights_chunked/ref/$i.zip | ||
unzip -q $i.zip -d ref/ && rm $i.zip | ||
wget https://data.csail.mit.edu/nights/nights_chunked/distort/$i.zip | ||
unzip -q $i.zip -d distort/ && rm $i.zip | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
mkdir -p ./dataset | ||
cd dataset | ||
|
||
# Download JND data for NIGHTS dataset | ||
wget https://data.csail.mit.edu/nights/jnd_votes.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
mkdir -p ./dataset_unfiltered | ||
cd dataset_unfiltered | ||
|
||
mkdir -p ref | ||
mkdir -p distort | ||
|
||
# Download NIGHTS dataset | ||
|
||
# store those in a list and loop through wget and unzip and rm | ||
for i in {0..99..25} | ||
do | ||
wget https://data.csail.mit.edu/nights/nights_unfiltered/ref_${i}_$(($i+24)).zip | ||
unzip -q ref_${i}_$(($i+24)).zip -d ref | ||
rm ref_*.zip | ||
|
||
wget https://data.csail.mit.edu/nights/nights_unfiltered/distort_${i}_$(($i+24)).zip | ||
unzip -q distort_${i}_$(($i+24)).zip -d distort | ||
rm distort_*.zip | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.