This repository contains the code and resources for the model used in the competition. To ensure the model runs properly, you need to download and extract the model weights.
Before getting started, you'll need to clone this repository to your local machine:
git clone (https://github.com/Aho-Bakaa/NTIRE_Challenge)
cd NTIRE_ChallengeThis will create a local copy of the repository and navigate to the project directory.
The model weights are provided as a zip file hosted on Google Drive. Follow the steps below to download and extract them.
Use the following code block to download the zip file containing the model weights from the provided Google Drive link:
gdown --id 1IrFc3PhIKDx2hJPATrALEUbeZeeWDcuR -O weights.zipAfter downloading, extract the contents of the zip file:
# For Linux/Mac
unzip weights.zip -d weights
# For Windows
# Use File Explorer to extract the zip file into the weights folder
# Or use a tool like 7-Zip or WinRARAfter setting up the repository and downloading the weights, you can run the model using the test script:
# Linux/Mac
python ./test.py
# Windows Command Prompt
python test.py
# Windows PowerShell
python .\test.pyThe test script will use the model weights from the weights directory to process the test data. Make sure you're in the repository's root directory when running this command.
-
Dependencies:
- Python 3.8
- gdown: Install with
pip install gdown - For Linux/Mac: Ensure you have
unzipinstalled - For Windows: Use built-in extraction tools or install 7-Zip
-
Alternative Download Method: If you encounter issues with gdown, you can manually download the file from the Google Drive link and move it to the weights directory.
Following these steps will ensure that you have all necessary files downloaded and extracted correctly. If you have any questions or need further assistance, feel free to reach out!