To run the src/main.py script, follow these steps:
-
Clone the repository:
git clone https://github.com/morizin/LandmarkNetv3.git cd LandmarkNetv3 -
Install the required dependencies:
pip install -r requirements.txt
-
Download and extract the dataset:
./get_dataset.sh
-
Run the script:
python src/main.py --data_dir <path_to_dataset> --output_dir <path_to_output>
--data_dir: Path to the dataset directory.--output_dir: Path to the output directory where results will be saved.
python src/main.py --data_dir ./essentials/loftr-repo --output_dir ./output