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(“TensorFlow Hub”)
new_model.summary()
“”