From 189eb97e299db3bdd113f9cf366ac5ee232ef658 Mon Sep 17 00:00:00 2001 From: Andrei Moraru Date: Thu, 16 Mar 2023 23:31:58 +0200 Subject: [PATCH 1/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a039dff..f6946cf 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ One of the very newest (time of writing: fall 2022) is [___Google's LM-Nav___](h ## Vocabulary and Data -As the official dataset homespage states, "COCO is a large-scale object detection, segmentation, and captioning dataset". +As the official dataset homepage states, "COCO is a large-scale object detection, segmentation, and captioning dataset". For this particular model, I am concerned with detection and captioning. From 7b5411fd61bab3e32856bd8fa1b31c19554d592c Mon Sep 17 00:00:00 2001 From: Andrei Moraru Date: Sun, 23 Apr 2023 20:18:01 +0300 Subject: [PATCH 2/4] Create makefile.yml --- .github/workflows/makefile.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/makefile.yml diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml new file mode 100644 index 0000000..8db022e --- /dev/null +++ b/.github/workflows/makefile.yml @@ -0,0 +1,27 @@ +name: Makefile CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: configure + run: ./configure + + - name: Install dependencies + run: make + + - name: Run check + run: make check + + - name: Run distcheck + run: make distcheck From 5d8ea9f2367c0b680a9fa3613611e859de1597cc Mon Sep 17 00:00:00 2001 From: Andrei Moraru Date: Sun, 23 Apr 2023 20:36:57 +0300 Subject: [PATCH 3/4] Create python-app.yml --- .github/workflows/python-app.yml | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/python-app.yml diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml new file mode 100644 index 0000000..f3d4fca --- /dev/null +++ b/.github/workflows/python-app.yml @@ -0,0 +1,39 @@ +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python + +name: Python application + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.10 + uses: actions/setup-python@v3 + with: + python-version: "3.10" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install flake8 pytest + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Lint with flake8 + run: | + # stop the build if there are Python syntax errors or undefined names + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: Test with pytest + run: | + pytest From 59485eb17b181e53f313c56f240c7518090f21de Mon Sep 17 00:00:00 2001 From: Andrei Moraru Date: Sun, 23 Apr 2023 20:40:16 +0300 Subject: [PATCH 4/4] Delete makefile.yml --- .github/workflows/makefile.yml | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 .github/workflows/makefile.yml diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml deleted file mode 100644 index 8db022e..0000000 --- a/.github/workflows/makefile.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Makefile CI - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: configure - run: ./configure - - - name: Install dependencies - run: make - - - name: Run check - run: make check - - - name: Run distcheck - run: make distcheck