File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 40
40
41
41
_TIMESTAMP_IMPORT_STARTS = time .time ()
42
42
from absl import logging
43
+ from etils import epy
43
44
import tensorflow_datasets .core .logging as _tfds_logging
44
45
from tensorflow_datasets .core .logging import call_metadata as _call_metadata
45
46
55
56
# pytype: disable=import-error
56
57
# For builds that don't include all dataset builders, we don't want to fail on
57
58
# import errors of dataset builders.
58
- try :
59
+ with epy . lazy_imports () :
59
60
from tensorflow_datasets import audio
60
61
from tensorflow_datasets import graphs
61
62
from tensorflow_datasets import image
79
80
from tensorflow_datasets import video
80
81
from tensorflow_datasets import vision_language
81
82
82
- except ImportError :
83
- pass
84
83
# pytype: enable=import-error
85
84
86
85
_import_time_ms_dataset_builders = int (
You can’t perform that action at this time.
0 commit comments