Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
040f62d1
Unverified
Commit
040f62d1
authored
Apr 23, 2020
by
Adam Tetelman
Committed by
GitHub
Apr 23, 2020
Browse files
Fix paths/permissions in download_and_preprocess_flowers.sh to work end-to-end (#8351)
parent
83d8bab5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
research/inception/inception/data/build_image_data.py
research/inception/inception/data/build_image_data.py
+0
-0
research/inception/inception/data/download_and_preprocess_flowers.sh
...ception/inception/data/download_and_preprocess_flowers.sh
+2
-2
No files found.
research/inception/inception/data/build_image_data.py
100644 → 100755
View file @
040f62d1
File mode changed from 100644 to 100755
research/inception/inception/data/download_and_preprocess_flowers.sh
View file @
040f62d1
...
...
@@ -42,9 +42,9 @@ fi
# Create the output and temporary directories.
DATA_DIR
=
"
${
1
%/
}
"
SCRATCH_DIR
=
"
${
DATA_DIR
}
/raw-data"
WORK_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
>
/dev/null 2>&1
&&
pwd
)
"
mkdir
-p
"
${
DATA_DIR
}
"
mkdir
-p
"
${
SCRATCH_DIR
}
"
WORK_DIR
=
"
$0
.runfiles/inception/inception"
# Download the flowers data.
DATA_URL
=
"http://download.tensorflow.org/example_images/flower_photos.tgz"
...
...
@@ -87,7 +87,7 @@ done < "${LABELS_FILE}"
# Build the TFRecords version of the image data.
cd
"
${
CURRENT_DIR
}
"
BUILD_SCRIPT
=
"
${
WORK_DIR
}
/build_image_data"
BUILD_SCRIPT
=
"
${
WORK_DIR
}
/build_image_data
.py
"
OUTPUT_DIRECTORY
=
"
${
DATA_DIR
}
"
"
${
BUILD_SCRIPT
}
"
\
--train_directory
=
"
${
TRAIN_DIRECTORY
}
"
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment