trans.RandomChoice([
        trans.RandomGrayscale(1),
        trans.RandomHorizontalFlip(1),
        trans.RandomVerticalFlip(1),
        trans.RandomAffine(180)
    ]),

I thought RandomChoice will choose only one among them so I kept probabilities to 1.
I have removed these transformations  and rerun the script but with no improvement.
No the model did not work anytime and that is what I don’t know why.
When I run on single example(giving the same X all the time) the loss sometimes decreases and sometimes it won’t.
Please check the first link is now https://kaggle.com/bharat0/script-dogs-vs-cats?scriptVersionId=7412317 5
I am running the second one without transformations. Once it is done I will post the link to it