That doesn’t sound right. You are pointing to starter code which deals with the difference between coursera learner and grader environments.
The next cell is the one to confirm if things are right. See if tfdv.load_schema_text
runs without an error on your environment. If it does, please check notebook metadata and refresh the workspace if required / in doubt. If that doesn’t help, please click my name and message your notebook as an attachment.