I just have a little question. Say the image folder is like this:
root/dog/xxx.png
root/dog/xxy.png
root/cat/123.png
root/cat/asd932_.png
Then I suppose it’s that the class dog is encoded into [1, 0] as for the first category, And the cat goes to [0, 1], Am I right?