I have confused you by sharing the above target output. I’m dealing with multi-label one. In my case, each sample corresponds to two class.
Input_image (say A) which contains has two objects ( say obj1,obj2).
Example :
Input: image_a
output :[ cat, dog]
i.e., image_a pic has both cat and dog .