Ctrl + Alt + 6

--

# obtain one batch of training imagesdataiter = iter(train_loader)images, labels = dataiter.next()# Creating the DataFrame
df = pd.DataFrame(
{'Images': images.tolist() ,
"Label" : labels.data}
)
cats = df[df["Label"] == 0]dogs = df[df["Label"] == 1]len(cats), len(dogs) # there are sometimes more cats than dogs

April 11 : நண்பர் K. ஜகன்நாதன் அவர்களுக்கு ஒரு நிமிட மெளன அஞ்சலி செலுத்துவோம். அவர் மோட்டார் வாகன விபத்தில் உயிர் இழந்தார் என்று நினைவு கூறுகிறேன். உங்களுடைய நினைவுகளை, பகிர்ந்து கொள்ளுங்கள்.

--

--

No responses yet