From 9ce9ae4a8daf008a07c503a265d28c2f312dbf12 Mon Sep 17 00:00:00 2001 From: Devin Anzelmo Date: Tue, 3 Oct 2017 09:57:39 -0700 Subject: [PATCH 1/6] fix mask naming to prevent name overlap, and potential overwrites --- code/preprocess_ims.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/code/preprocess_ims.py b/code/preprocess_ims.py index 6d3309b8ce..f1ab8f4448 100644 --- a/code/preprocess_ims.py +++ b/code/preprocess_ims.py @@ -61,13 +61,15 @@ def move_labels(input_folder, output_folder, fold_id): for e,i in enumerate(cam2): fname_parts = i.split(os.sep) - cam2_base = str(fold_id) + '_' + fname_parts[-1] + + # Thanks @Nitish for these fixes:) + cam2_base = str(fold_id) + '_' + fname_parts[-3] +'_' + fname_parts[-1] fname_parts = cam3[e].split(os.sep) - cam3_base = str(fold_id) + '_' + fname_parts[-1] + cam3_base = str(fold_id) + '_' + fname_parts[-3] +'_' + fname_parts[-1] fname_parts = cam4[e].split(os.sep) - cam4_base = str(fold_id) + '_' + fname_parts[-1] + cam4_base = str(fold_id) + '_' + fname_parts[-3] +'_' + fname_parts[-1] shutil.copy(i, os.path.join(output_folder,cam2_base)) shutil.copy(cam3[e], os.path.join(output_folder,cam3_base)) @@ -84,7 +86,7 @@ def move_png_to_jpeg(input_folder, output_folder, fold_id): for i in cam1_files: cam1 = misc.imread(i) fname_parts = i.split(os.sep) - cam1_base = str(fold_id) + '_' +fname_parts[-3]+fname_parts[-1].split('.')[0] + '.jpeg' + cam1_base = str(fold_id) + '_' +fname_parts[-3] + '_' + fname_parts[-1].split('.')[0] + '.jpeg' misc.imsave(os.path.join(output_folder, cam1_base), cam1, format='jpeg') From f1868170d44bb938a90a9cb57f7be0281ffe2c8f Mon Sep 17 00:00:00 2001 From: Kyle Stewart-Frantz Date: Tue, 21 Nov 2017 12:49:02 -0800 Subject: [PATCH 2/6] Update README.md Spelling fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index de173f4178..849b0be246 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Rename or move `data/train`, and `data/validation`, then move `data/processed_im **Important Note 3:** -Merging multiple `train` or `validation` may be difficult, it is recommended that data choices be determined by what you include in `raw_sim_data/train/run1` with possibly many different runs in the directory. You can create a tempory folder in `data/` and store raw run data you don't currently want to use, but that may be useful for later. Choose which `run_x` folders to include in `raw_sim_data/train`, and `raw_sim_data/validation`, then run `preprocess_ims.py` from within the 'code/' directory to generate your new training and validation sets. +Merging multiple `train` or `validation` may be difficult, it is recommended that data choices be determined by what you include in `raw_sim_data/train/run1` with possibly many different runs in the directory. You can create a temporary folder in `data/` and store raw run data you don't currently want to use, but that may be useful for later. Choose which `run_x` folders to include in `raw_sim_data/train`, and `raw_sim_data/validation`, then run `preprocess_ims.py` from within the 'code/' directory to generate your new training and validation sets. ## Training, Predicting and Scoring ## From 7095de066c5b97bd9cea497408adf78f8a29967b Mon Sep 17 00:00:00 2001 From: Haoyang Fan Date: Thu, 14 Dec 2017 15:45:47 -0800 Subject: [PATCH 3/6] Changed to Udacity copyright, added license --- LICENSE | 21 +++++++++++++++++++++ code/utils/sio_msgs.py | 26 +------------------------- 2 files changed, 22 insertions(+), 25 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000..b4b1aab88f --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Udacity + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/code/utils/sio_msgs.py b/code/utils/sio_msgs.py index 4b96312751..363188f175 100644 --- a/code/utils/sio_msgs.py +++ b/code/utils/sio_msgs.py @@ -1,31 +1,7 @@ #!/usr/bin/env python -# Copyright (c) 2017, Electric Movement +# Copyright (c) 2017, Udacity Inc. # All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# The views and conclusions contained in the software and documentation are those -# of the authors and should not be interpreted as representing official policies, -# either expressed or implied, of the FreeBSD Project # Author: Brandon Kinman import base64 From 7f5ec1391bb184ed1631b262fc5326e374fa481a Mon Sep 17 00:00:00 2001 From: SudKul <48475411+SudKul@users.noreply.github.com> Date: Thu, 21 Oct 2021 18:59:03 +0530 Subject: [PATCH 4/6] Create CODEOWNERS --- CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 CODEOWNERS diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000000..2a6bcb2832 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +* @udacity/active-public-content \ No newline at end of file From fc19d40eb4bc84f9cd3a8ffe92bff37dc9c59ebb Mon Sep 17 00:00:00 2001 From: SudKul <48475411+SudKul@users.noreply.github.com> Date: Fri, 12 Nov 2021 18:56:44 +0530 Subject: [PATCH 5/6] Add Github Action --- .github/workflows/manual.yml | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/manual.yml diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 0000000000..acf46191e0 --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,46 @@ +# Workflow to ensure whenever a Github PR is submitted, +# a JIRA ticket gets created automatically. +name: Manual Workflow + +# Controls when the action will run. +on: + # Triggers the workflow on pull request events but only for the master branch + pull_request_target: + types: [opened, reopened] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + test-transition-issue: + name: Convert Github Issue to Jira Issue + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + + - name: Login + uses: atlassian/gajira-login@master + env: + JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} + JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} + JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} + + - name: Create NEW JIRA ticket + id: create + uses: atlassian/gajira-create@master + with: + project: CONUPDATE + issuetype: Task + summary: | + Github PR [Assign the ND component] | Repo: ${{ github.repository }} | PR# ${{github.event.number}} + description: | + Repo link: https://github.com/${{ github.repository }} + PR no. ${{ github.event.pull_request.number }} + PR title: ${{ github.event.pull_request.title }} + PR description: ${{ github.event.pull_request.description }} + In addition, please resolve other issues, if any. + fields: '{"components": [{"name":"Github PR"}], "customfield_16449":"https://classroom.udacity.com/", "customfield_16450":"Resolve the PR", "labels": ["github"], "priority":{"id": "4"}}' + + - name: Log created issue + run: echo "Issue ${{ steps.create.outputs.issue }} was created" From bcfd48063781679dde19e2aefd0687582d46c68a Mon Sep 17 00:00:00 2001 From: Sudhanshu Kulshrestha <48475411+SudKul@users.noreply.github.com> Date: Thu, 2 Dec 2021 18:28:54 +0530 Subject: [PATCH 6/6] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 849b0be246..62cf171361 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ +# Deprecated Repository +This repository is deprecated. Currently enrolled learners, if any, can: +- Utilize the https://knowledge.udacity.com/ forum to seek help on content-specific issues. +- [Submit a support ticket](https://udacity.zendesk.com/hc/en-us/requests/new) if (learners are) blocked due to other reasons. + + [![Udacity - Robotics NanoDegree Program](https://s3-us-west-1.amazonaws.com/udacity-robotics/Extra+Images/RoboND_flag.png)](https://www.udacity.com/robotics) ## Deep Learning Project ##