8000 GitHub - TimeLovercc/CV-project: CV project
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

TimeLovercc/CV-project

 
 

Repository files navigation

Code for EE554: Computer Vision II Course Project

Members

Huaisheng Zhu, Teng Xiao, Zhimeng Guo

Steps

  1. Install the packages listed in requirements.txt
  2. Download the two datasets into the same folder:
  3. Set the data folder to where the datasets are stored by editing:
    • --dataroot argument in main.py.
    • --dataroot argument in baseline.py.
    • dataroot variable in script_test_c10.py.
  4. Run script.sh for the main results (TTT-personalized), and ./baseliness/script_baseline.sh for the baseline results.
  5. The results are stored in the respective folders in results/ and ./baseliness/results.
  6. Once everything is finished, the results can be compiled and visualized with the following utilities:
    • show_table.py parses the results into tables and prints them.
    • show_plot.py makes bar plots, and prints the tables in latex format; requires first running show_table.py.
    • show_grad.py makes the gradient correlation plot.
    • ./baseliness/show_table.py parses the baseline results into tables and prints them.
    • ./baseliness/show_plot.py makes bar plots for baseline results, and prints the tables in latex format; requires first running show_table.py.
    • ./baseliness/show_grad.py makes the gradient correlation plot for baselines.
  7. The whole training process may take a Tesla V100 several days. So please change the CUDA_VISIBLE_DEVICES in script.sh and ./baseliness/script_baseline.sh to select a suitable GPU.

About

CV project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.6%
  • Shell 1.4%
0