From 15b778320e9ed701f4d58f633c176dbd5fdfdab4 Mon Sep 17 00:00:00 2001 From: Kareem Morsy Date: Mon, 14 Aug 2023 17:31:07 +0300 Subject: [PATCH] Change `master` to `main` --- .github/workflows/docs.yml | 5 +-- .github/workflows/lint-bot.yml | 2 +- .github/workflows/lint.yml | 2 +- README.rst | 62 +++++++++++++++++----------------- ivy_memory_demos/README.md | 4 +-- merge_with_upstream.sh | 2 +- setup.py | 4 +-- 7 files changed, 41 insertions(+), 40 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c17bb84..a22f44f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,12 +2,13 @@ name: Update docs on: push: branches: - - master + - main tags: - v* + workflow_dispatch: jobs: update-docs: name: Update docs - uses: unifyai/workflows/.github/workflows/docs.yml@master + uses: unifyai/workflows/.github/workflows/docs.yml@main secrets: inherit diff --git a/.github/workflows/lint-bot.yml b/.github/workflows/lint-bot.yml index 03e43b4..5136a5c 100644 --- a/.github/workflows/lint-bot.yml +++ b/.github/workflows/lint-bot.yml @@ -11,5 +11,5 @@ permissions: jobs: fix-linting: name: Fix Linting - uses: unifyai/workflows/.github/workflows/lint-bot.yml@master + uses: unifyai/workflows/.github/workflows/lint-bot.yml@main secrets: inherit diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3e5c9ee..ffb247e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,4 +5,4 @@ on: [push, pull_request] jobs: check-formatting: name: Check formatting - uses: unifyai/workflows/.github/workflows/lint.yml@master \ No newline at end of file + uses: unifyai/workflows/.github/workflows/lint.yml@main \ No newline at end of file diff --git a/README.rst b/README.rst index aebea0f..87bf11a 100644 --- a/README.rst +++ b/README.rst @@ -1,8 +1,8 @@ -.. image:: https://github.com/unifyai/unifyai.github.io/blob/master/img/externally_linked/logo.png?raw=true#gh-light-mode-only +.. image:: https://github.com/unifyai/unifyai.github.io/blob/main/img/externally_linked/logo.png?raw=true#gh-light-mode-only :width: 100% :class: only-light -.. image:: https://github.com/unifyai/unifyai.github.io/blob/master/img/externally_linked/logo_dark.png?raw=true#gh-dark-mode-only +.. image:: https://github.com/unifyai/unifyai.github.io/blob/main/img/externally_linked/logo_dark.png?raw=true#gh-dark-mode-only :width: 100% :class: only-dark @@ -28,23 +28,23 @@ .. raw:: html
- + - + - + - + - + - + - + - + - +
Contents @@ -81,26 +81,26 @@ neural memory, pre-trained models + implementations, and builder tools with trai
- - + + - - + + - - + + - - + + @@ -138,26 +138,26 @@ neural memory, pre-trained models + implementations, and builder tools with trai - - + + - - + + - - + + - - + + @@ -197,8 +197,8 @@ neural memory, pre-trained models + implementations, and builder tools with trai Ivy memory can be installed like so: ``pip install ivy-memory`` -.. _demos: https://github.com/unifyai/memory/tree/master/ivy_memory_demos -.. _interactive: https://github.com/unifyai/memory/tree/master/ivy_memory_demos/interactive +.. _demos: https://github.com/unifyai/memory/tree/main/ivy_memory_demos +.. _interactive: https://github.com/unifyai/memory/tree/main/ivy_memory_demos/interactive To quickly see the different aspects of the library, we suggest you check out the demos_! We suggest you start by running the script ``run_through.py``, @@ -399,7 +399,7 @@ NTM can overfit to a single copy sequence very quickly, as show in the real-time .. raw:: html

- +

**Mapping a Room with ESM** @@ -412,7 +412,7 @@ While this example only projects color values into the memory, arbitrary neural .. raw:: html

- +

Get Involved diff --git a/ivy_memory_demos/README.md b/ivy_memory_demos/README.md index 9e8ff3f..f58bc82 100644 --- a/ivy_memory_demos/README.md +++ b/ivy_memory_demos/README.md @@ -86,7 +86,7 @@ An example of overfitting on copying a single sequence, with real-time training speed, is given below:

- +

### Mapping a Room with ESM @@ -105,7 +105,7 @@ and the incrementally constructed omni-directional ESM feature and depth images While this example only projects color values into the memory, arbitrary neural network features can also be projected, for end-to-end training.

- +

## Get Involved diff --git a/merge_with_upstream.sh b/merge_with_upstream.sh index 49c671c..8e9cb61 100755 --- a/merge_with_upstream.sh +++ b/merge_with_upstream.sh @@ -2,5 +2,5 @@ git checkout "$1" git remote add upstream https://github.com/unifyai/memory.git || true git fetch upstream -git merge upstream/master --no-edit +git merge upstream/main --no-edit git push \ No newline at end of file diff --git a/setup.py b/setup.py index 9f43792..f11f4ca 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ def _replace_logos_html(txt): backends_chunk = chunks[2] bc = backends_chunk.split("\n\n") img_str = ( - ".. image:: https://github.com/unifyai/unifyai.github.io/blob/master/img/externally_linked/logos/supported/frameworks.png?raw=true\n" # noqa + ".. image:: https://github.com/unifyai/unifyai.github.io/blob/main/img/externally_linked/logos/supported/frameworks.png?raw=true\n" # noqa " :width: 100%" ) backends_chunk = "\n\n".join(bc[0:1] + [img_str] + bc[2:]) @@ -39,7 +39,7 @@ def _replace_logos_html(txt): libraries_chunk = chunks[3] lc = libraries_chunk.split("\n\n") img_str = ( - ".. image:: https://github.com/unifyai/unifyai.github.io/blob/master/img/externally_linked/ivy_libraries.png?raw=true\n" # noqa + ".. image:: https://github.com/unifyai/unifyai.github.io/blob/main/img/externally_linked/ivy_libraries.png?raw=true\n" # noqa " :width: 100%" ) libraries_chunk = "\n\n".join(lc[0:1] + [img_str] + lc[2:])