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
57d47bac
Commit
57d47bac
authored
Mar 09, 2018
by
Chris Shallue
Committed by
Christopher Shallue
Mar 09, 2018
Browse files
Update `mode` for compatibility with Python 3.
PiperOrigin-RevId: 188502535
parent
05ccaf88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
research/astronet/astronet/data/generate_download_script.py
research/astronet/astronet/data/generate_download_script.py
+1
-1
No files found.
research/astronet/astronet/data/generate_download_script.py
View file @
57d47bac
...
@@ -90,7 +90,7 @@ def main(argv):
...
@@ -90,7 +90,7 @@ def main(argv):
f
.
write
(
"echo 'Finished downloading {} Kepler targets to {}'
\n
"
.
format
(
f
.
write
(
"echo 'Finished downloading {} Kepler targets to {}'
\n
"
.
format
(
num_kepids
,
FLAGS
.
download_dir
))
num_kepids
,
FLAGS
.
download_dir
))
os
.
chmod
(
FLAGS
.
output_file
,
0744
)
# Make the download script executable.
os
.
chmod
(
FLAGS
.
output_file
,
0
o
744
)
# Make the download script executable.
print
(
"{} Kepler targets will be downloaded to {}"
.
format
(
print
(
"{} Kepler targets will be downloaded to {}"
.
format
(
num_kepids
,
FLAGS
.
output_file
))
num_kepids
,
FLAGS
.
output_file
))
print
(
"To start download, run:
\n
{}"
.
format
(
"./"
+
FLAGS
.
output_file
print
(
"To start download, run:
\n
{}"
.
format
(
"./"
+
FLAGS
.
output_file
...
...
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