Skip to content

Commit

Permalink
🔧 update requirements.txt torchvision version to be 0.19.1 compatible…
Browse files Browse the repository at this point in the history
… with macOS
  • Loading branch information
jadewang26 committed Oct 29, 2024
1 parent 31f0834 commit e2f53ab
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 4 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified combined-demo/output-imgs/your-palette.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions combined-demo/scripts/run_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ fi
IMAGE_FILE=$1

# Run the Python script with the JPEG file
python3 ../../color-correction/PyTorch/demo_single_image.py --i "../input-imgs/$IMAGE_FILE" -t AWB -o ../intermediate-imgs
python ../../color-correction/PyTorch/demo_single_image.py --i "../input-imgs/$IMAGE_FILE" -t AWB -o ../intermediate-imgs

# Run facial detection
python3 ../../face-detect/facedec/facedetect.py --i "../intermediate-imgs/temp.png"
python ../../face-detect/facedec/facedetect.py --i "../intermediate-imgs/temp.png"
#SHOULD BE TEMP

# Run color analysis
python3 ../../color-analysis/color_analysis.py --i "../output-imgs/cropped.jpg"
python ../../color-analysis/color_analysis.py --i "../output-imgs/cropped.jpg"

# run below script in command line to test
# ./run_demo.sh [image-name.jpg]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
torch
torchvision
torchvision==0.19.1
cuda-python
tensorboard
numpy
Expand Down

0 comments on commit e2f53ab

Please sign in to comment.