## Installation

### Dependencies

The original library is build with

- python=3.8.8
- torch=1.10.2
- torchvision=0.11.3

To get all the requirements, please run

```
pip install -r requirements.txt
```

## Usage

### Extracting semantic features
Semantic feature extraction using CLIP, please run

``` 
python clip_feature.py
```
You need to specify the dataset in the code.
 
### Training

###Pre-training on large dataset (LSVQ)

To train CLIF model, please run

```
python My_new_train.py -o options/clif/clif_newtrain.yml
```

### Finetune on small datasets with provided weights

```
python My_finetune.py -opt [YOUR_OPTION_FILE] 
```

Supported datasets are KoNViD-1k, LIVE_VQC, YouTube-UGC.




