Skip to content

Commit 320d5f2

Browse files
update tensorflow import
1 parent cecfbb5 commit 320d5f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_datasets/image/div2k.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import os.path
88
import re
99

10-
import tensorflow as tf
10+
import tensorflow.compat.v2 as tf
1111
import tensorflow_datasets.public_api as tfds
1212

1313
_CITATION = """@InProceedings{Ignatov_2018_ECCV_Workshops,

0 commit comments

Comments
 (0)