Primary competition visual

INEGI UN-GGIM Human Settlement Detection Challenge by ITU

Helping Mexico
1 000 CHF
Completed (over 1 year ago)
Classification
208 joined
84 active
Starti
Sep 02, 24
Closei
Sep 28, 24
Reveali
Oct 10, 24
User avatar
AkashPB
Where is the Target Class ??
Data Ā· 2 Sep 2024, 18:35 Ā· 3

I guess I am not able to find the target class

Also the following code is working for loading train data -

train_path = "/content/drive/MyDrive/train_data.npy"

train_data = np.load(train_path,allow_pickle=True)

train_data.shape

Can anyone guide as to where the target class is?? or do rectify the input file structure so that we can use the below code snippet for loading data as mentioned in the starter notebook

# Path to your HDF5 file

hdf5_file = "train_data.h5"

# Open the HDF5 file

with h5py.File(hdf5_file, 'r') as hdf:

# Extract the images (X)

X = np.array(hdf['images'])

# Extract the labels (y)

y = np.array(hdf['labels'])

# Check the shapes to ensure they are correct

print("Shape of X (images):", X.shape)

print("Shape of y (labels):", y.shape)

hdf5_file_test = "test_data.h5"

# Open the HDF5 file

with h5py.File(hdf5_file_test, 'r') as hdf:

# Extract the images (X)

X_test = np.array(hdf['images'])

# Check the shapes to ensure they are correct

print("Shape of X_test (images):", X_test.shape)

Discussion 3 answers
User avatar
marching_learning
Nostalgic Mathematics

Yes @Zindi @Amy_Bray @meganomaly, the labels are missing.

2 Sep 2024, 19:50
Upvotes 1
User avatar
MICADEE
LAHASCOM

Yes, I couldn't find target as well.

4 Sep 2024, 12:47
Upvotes 0
User avatar
ML_Wizzard
Nasarawa State University

Same here.

4 Sep 2024, 17:15
Upvotes 0