Primary competition visual

INEGI UN-GGIM Human Settlement Detection Challenge by ITU

Helping Mexico
1 000 CHF
Completed (~2 years ago)
Classification
213 joined
84 active
Starti
02 Sep 24
Closei
28 Sep 24
Reveali
10 Oct 24
User avatar
AkashPBAmbassador
Zindi Ambassador
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

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

Upvotes 1
User avatar
MICADEE

Yes, I couldn't find target as well.

Upvotes 0
User avatar
ML_Wizzard

Same here.

Upvotes 0