Browse Source

requirements updated

master
Faeze 1 year ago
parent
commit
7f7feeb00b
4 changed files with 7 additions and 8 deletions
  1. 2
    1
      .gitignore
  2. 1
    2
      data/twitter/data_loader.py
  3. 0
    3
      main.py
  4. 4
    2
      requirements.txt

+ 2
- 1
.gitignore View File

*.jpg *.jpg
*.csv *.csv
*.json *.json
*.png
*.png
*.zip

+ 1
- 2
data/twitter/data_loader.py View File



import cv2
import pickle
from PIL import Image from PIL import Image
from cv2 import cv2
from numpy import asarray from numpy import asarray


from data.data_loader import DatasetLoader from data.data_loader import DatasetLoader

+ 0
- 3
main.py View File

import argparse import argparse


from lime_main import lime_main
from optuna_main import optuna_main from optuna_main import optuna_main
from test_main import test_main from test_main import test_main
from torch_main import torch_main from torch_main import torch_main
optuna_main(config, args.use_optuna) optuna_main(config, args.use_optuna)
elif args.just_test is not None: elif args.just_test is not None:
test_main(config, args.just_test) test_main(config, args.just_test)
elif args.use_lime is not None:
lime_main(config, args.use_lime)
else: else:
torch_main(config) torch_main(config)



+ 4
- 2
requirements.txt View File

pytorch-lightning==1.2.10 pytorch-lightning==1.2.10
pytorch-model-summary==0.1.2 pytorch-model-summary==0.1.2
pytorchtools==0.0.2 pytorchtools==0.0.2
scikit-image==0.17.2
scikit-learn==0.24.2 scikit-learn==0.24.2
scipy==1.5.4 scipy==1.5.4
seaborn==0.11.1 seaborn==0.11.1
torchsummary==1.5.1 torchsummary==1.5.1
torchvision==0.9.1 torchvision==0.9.1
tqdm==4.60.0 tqdm==4.60.0
transformers==4.5.1
tokenizers==0.13.3
transformers==4.30.0
timm==0.4.5
albumentations==0.5.2

Loading…
Cancel
Save