I was trying to use the pre-trained model on BigEarthNet when I came across this issue
import collections
'“”
import io
import math
import os
import random
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
import tensorflow_hub as hub
import numpy as np
print(tf.version.VERSION)
new_model = hub.Module(“Google | resnet50 | Kaggle”)
new_model.summary()
“”