-
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.
Merge branch 'main' of https://github.com/stephanie-fu/dreamsim
- Loading branch information
Showing
12 changed files
with
96 additions
and
63 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 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ lpips | |
numpy | ||
open-clip-torch | ||
pandas | ||
peft>=0.4.0 | ||
peft>=0.2.0 | ||
Pillow | ||
pytorch-lightning | ||
PyYAML | ||
|
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