Skip to content

Commit

Permalink
Merge pull request #4 from DaBeIDS/feature/2023-10_issue_20
Browse files Browse the repository at this point in the history
Feature/2023 10 issue 20
  • Loading branch information
DaBeIDS authored Oct 24, 2023
2 parents ab8935e + ba497e6 commit 4966d60
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 33 deletions.
2 changes: 1 addition & 1 deletion data_extractor/code/infer_on_pdf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import argparse
import requests
import os
import config_path
import utils.config_path as config_path
import json
import yaml
import csv
Expand Down

This file was deleted.

13 changes: 5 additions & 8 deletions data_extractor/code/model_pipeline/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG PYTORCH="1.6.0"
ARG CUDA="10.1"
ARG CUDNN="7"
ARG PYTORCH="1.11.0"
ARG CUDA="11.3"
ARG CUDNN="8"

FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel
ENV TORCH_CUDA_ARCH_LIST="3.7 6.0 6.1 7.0+PTX"
Expand All @@ -9,10 +9,10 @@ RUN mkdir -p /.cache
RUN chmod -R 777 /.cache

RUN apt-key del 3bf863cc
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub

RUN apt-key del 7fa2af80
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64/7fa2af80.pub

RUN apt-get update
RUN apt-get install -y unzip vim git wget
Expand All @@ -26,9 +26,6 @@ RUN chmod -R 777 /app/code

ENV SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True

WORKDIR /app/code/kpi_inference_data_pipeline
RUN pip install -e .

WORKDIR /app/code/model_pipeline
RUN pip install -e .

Expand Down
35 changes: 17 additions & 18 deletions data_extractor/code/model_pipeline/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
traitlets==5.4
requests==2.26.0
jinja2==3.0
ipython==7.23.1
urllib3==1.26.7
gdown==3.11.1
tqdm==4.48.0
xlrd==1.2.0
traitlets
requests
gdown
tqdm
xlrd
pandas==1.0.5
farm==0.5.0
optuna==2.0.0
Werkzeug==2.2.2
Flask==2.2.5
pyspellchecker==0.5.5
spacy==2.3.2
MarkupSafe==2.0.1
boto3==1.18.15
scikit-learn==0.24.1
protobuf==3.20.0
farm
optuna
Werkzeug==0.16.1
Flask==1.1.4
pyspellchecker
spacy
MarkupSafe
boto3
scikit-learn
protobuf
fuzzywuzzy
python-Levenshtein

0 comments on commit 4966d60

Please sign in to comment.