Skip to content

Commit

Permalink
Merge branch 'main' into refactor-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
pbeukema authored Jan 4, 2024
2 parents fa52425 + 1d287fe commit 55fd134
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 546 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_push_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
push:

env:
GHCR: ghcr.io
GHCR_IMAGE_NAME: ${{ github.repository }}
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-image:
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ COPY requirements.txt /home/vessel_detection/requirements.txt
RUN pip install --no-cache-dir -r /home/vessel_detection/requirements.txt

# Set Working Directory and Prepare App
WORKDIR /home/vessel_detection/
WORKDIR /home/vessel_detection/src
COPY src /home/vessel_detection/src
COPY main.py /home/vessel_detection/main.py
COPY tests /home/vessel_detection/src/
RUN mkdir -p /root/.cache/torch/hub/checkpoints/
COPY torch_weights/swin_v2_s-637d8ceb.pth /root/.cache/torch/hub/checkpoints/swin_v2_s-637d8ceb.pth
Expand Down
540 changes: 0 additions & 540 deletions data/reports/dataset_report.ipynb

This file was deleted.

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pandas==1.4.3
prometheus-client==0.11.0
pyfaktory==0.2.1
pyproj==3.4.0
pytest==7.4.0
python-dateutil==2.8.2
rasterio==1.3.8
requests==2.27.0
Expand Down
4 changes: 2 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
from fastapi import FastAPI, Response
from pydantic import BaseModel

from src.data.image import prepare_scenes
from src.inference.pipeline import detect_vessels
from data.image import prepare_scenes
from inference.pipeline import detect_vessels

app = FastAPI()

Expand Down

0 comments on commit 55fd134

Please sign in to comment.