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
d6117ed1
Commit
d6117ed1
authored
Jan 22, 2020
by
A. Unique TensorFlower
Browse files
Fix minor bug in NCF data creation cleanup code.
PiperOrigin-RevId: 290967096
parent
03038d9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/recommendation/data_pipeline.py
official/recommendation/data_pipeline.py
+1
-1
No files found.
official/recommendation/data_pipeline.py
View file @
d6117ed1
...
...
@@ -425,7 +425,7 @@ class BaseDataConstructor(threading.Thread):
self
.
_shuffle_with_forkpool
=
not
stream_files
if
stream_files
:
self
.
_shard_root
=
epoch_dir
or
tempfile
.
mkdtemp
(
prefix
=
"ncf_"
)
atexit
.
register
(
tf
.
io
.
gfile
.
rmtree
,
dirname
=
self
.
_shard_root
)
atexit
.
register
(
tf
.
io
.
gfile
.
rmtree
,
self
.
_shard_root
)
else
:
self
.
_shard_root
=
None
...
...
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