问题:AttributeError: module 'tensorflow_datasets' has no attribute 'load'
背景:
from tensorflow_examples.models.pix2pix import pix2pix
import tensorflow_datasets as tfds
dataset, info = tfds.load('oxford_iiit_pet:3.*.*', with_info=True)
报错:AttributeError: module 'tensorflow_datasets' has no attribute 'load'
尝试过的方法:通过ctrl和点击,直接找到源码的load方法,可惜还是失败了
能加载load()函数