From da450c462335d512538eba145e23acdf1fb9c2bd Mon Sep 17 00:00:00 2001 From: test Date: Mon, 31 Jul 2023 19:13:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/.gitignore | 0 .idea/.name | 0 .idea/inspectionProfiles/Project_Default.xml | 6 + .../inspectionProfiles/profiles_settings.xml | 0 .idea/learn_torch.iml | 8 + .idea/misc.xml | 4 + .idea/modules.xml | 0 .idea/vcs.xml | 7 + .idea/workspace.xml | 228 ++++++++++++++++++ dataloader.py | 26 ++ ...fevents.1690783629.DESKTOP-NPRDBA4.18472.0 | 0 ...fevents.1690783658.DESKTOP-NPRDBA4.20520.0 | 0 ...tfevents.1690783697.DESKTOP-NPRDBA4.1120.0 | 0 ...tfevents.1690784147.DESKTOP-NPRDBA4.3076.0 | 0 dataset/cifar-10-batches-py/batches.meta | 0 dataset/cifar-10-batches-py/data_batch_1 | 0 dataset/cifar-10-batches-py/data_batch_2 | 0 dataset/cifar-10-batches-py/data_batch_3 | 0 dataset/cifar-10-batches-py/data_batch_4 | 0 dataset/cifar-10-batches-py/data_batch_5 | 0 dataset/cifar-10-batches-py/readme.html | 0 dataset/cifar-10-batches-py/test_batch | 0 dataset/cifar-10-python.tar.gz | 0 dataset/train/ants/0013035.jpg | 0 dataset/train/ants/1030023514_aad5c608f9.jpg | 0 dataset/train/ants/1095476100_3906d8afde.jpg | 0 dataset/train/ants/1099452230_d1949d3250.jpg | 0 dataset/train/ants/116570827_e9c126745d.jpg | 0 dataset/train/ants/1225872729_6f0856588f.jpg | 0 dataset/train/ants/1262877379_64fcada201.jpg | 0 dataset/train/ants/1269756697_0bce92cdab.jpg | 0 dataset/train/ants/1286984635_5119e80de1.jpg | 0 dataset/train/ants/132478121_2a430adea2.jpg | 0 dataset/train/ants/1360291657_dc248c5eea.jpg | 0 dataset/train/ants/1368913450_e146e2fb6d.jpg | 0 dataset/train/ants/1473187633_63ccaacea6.jpg | 0 dataset/train/ants/148715752_302c84f5a4.jpg | 0 dataset/train/ants/1489674356_09d48dde0a.jpg | 0 dataset/train/ants/149244013_c529578289.jpg | 0 dataset/train/ants/150801003_3390b73135.jpg | 0 dataset/train/ants/150801171_cd86f17ed8.jpg | 0 dataset/train/ants/154124431_65460430f2.jpg | 0 dataset/train/ants/162603798_40b51f1654.jpg | 0 dataset/train/ants/1660097129_384bf54490.jpg | 0 dataset/train/ants/167890289_dd5ba923f3.jpg | 0 dataset/train/ants/1693954099_46d4c20605.jpg | 0 dataset/train/ants/175998972.jpg | 0 dataset/train/ants/178538489_bec7649292.jpg | 0 dataset/train/ants/1804095607_0341701e1c.jpg | 0 dataset/train/ants/1808777855_2a895621d7.jpg | 0 dataset/train/ants/188552436_605cc9b36b.jpg | 0 dataset/train/ants/1917341202_d00a7f9af5.jpg | 0 dataset/train/ants/1924473702_daa9aacdbe.jpg | 0 dataset/train/ants/196057951_63bf063b92.jpg | 0 dataset/train/ants/196757565_326437f5fe.jpg | 0 dataset/train/ants/201558278_fe4caecc76.jpg | 0 dataset/train/ants/201790779_527f4c0168.jpg | 0 dataset/train/ants/2019439677_2db655d361.jpg | 0 dataset/train/ants/207947948_3ab29d7207.jpg | 0 dataset/train/ants/20935278_9190345f6b.jpg | 0 dataset/train/ants/224655713_3956f7d39a.jpg | 0 dataset/train/ants/2265824718_2c96f485da.jpg | 0 dataset/train/ants/2265825502_fff99cfd2d.jpg | 0 dataset/train/ants/226951206_d6bf946504.jpg | 0 dataset/train/ants/2278278459_6b99605e50.jpg | 0 dataset/train/ants/2288450226_a6e96e8fdf.jpg | 0 dataset/train/ants/2288481644_83ff7e4572.jpg | 0 dataset/train/ants/2292213964_ca51ce4bef.jpg | 0 dataset/train/ants/24335309_c5ea483bb8.jpg | 0 dataset/train/ants/245647475_9523dfd13e.jpg | 0 dataset/train/ants/255434217_1b2b3fe0a4.jpg | 0 dataset/train/ants/258217966_d9d90d18d3.jpg | 0 dataset/train/ants/275429470_b2d7d9290b.jpg | 0 dataset/train/ants/28847243_e79fe052cd.jpg | 0 dataset/train/ants/318052216_84dff3f98a.jpg | 0 dataset/train/ants/334167043_cbd1adaeb9.jpg | 0 dataset/train/ants/339670531_94b75ae47a.jpg | 0 dataset/train/ants/342438950_a3da61deab.jpg | 0 dataset/train/ants/36439863_0bec9f554f.jpg | 0 dataset/train/ants/374435068_7eee412ec4.jpg | 0 dataset/train/ants/382971067_0bfd33afe0.jpg | 0 dataset/train/ants/384191229_5779cf591b.jpg | 0 dataset/train/ants/386190770_672743c9a7.jpg | 0 dataset/train/ants/392382602_1b7bed32fa.jpg | 0 dataset/train/ants/403746349_71384f5b58.jpg | 0 dataset/train/ants/408393566_b5b694119b.jpg | 0 dataset/train/ants/424119020_6d57481dab.jpg | 0 dataset/train/ants/424873399_47658a91fb.jpg | 0 dataset/train/ants/450057712_771b3bfc91.jpg | 0 dataset/train/ants/45472593_bfd624f8dc.jpg | 0 dataset/train/ants/459694881_ac657d3187.jpg | 0 dataset/train/ants/460372577_f2f6a8c9fc.jpg | 0 dataset/train/ants/460874319_0a45ab4d05.jpg | 0 dataset/train/ants/466430434_4000737de9.jpg | 0 dataset/train/ants/470127037_513711fd21.jpg | 0 dataset/train/ants/474806473_ca6caab245.jpg | 0 dataset/train/ants/475961153_b8c13fd405.jpg | 0 dataset/train/ants/484293231_e53cfc0c89.jpg | 0 dataset/train/ants/49375974_e28ba6f17e.jpg | 0 dataset/train/ants/506249802_207cd979b4.jpg | 0 dataset/train/ants/506249836_717b73f540.jpg | 0 dataset/train/ants/512164029_c0a66b8498.jpg | 0 dataset/train/ants/512863248_43c8ce579b.jpg | 0 dataset/train/ants/518773929_734dbc5ff4.jpg | 0 dataset/train/ants/522163566_fec115ca66.jpg | 0 dataset/train/ants/522415432_2218f34bf8.jpg | 0 dataset/train/ants/531979952_bde12b3bc0.jpg | 0 dataset/train/ants/533848102_70a85ad6dd.jpg | 0 dataset/train/ants/535522953_308353a07c.jpg | 0 dataset/train/ants/540889389_48bb588b21.jpg | 0 dataset/train/ants/541630764_dbd285d63c.jpg | 0 dataset/train/ants/543417860_b14237f569.jpg | 0 dataset/train/ants/560966032_988f4d7bc4.jpg | 0 dataset/train/ants/5650366_e22b7e1065.jpg | 0 dataset/train/ants/6240329_72c01e663e.jpg | 0 dataset/train/ants/6240338_93729615ec.jpg | 0 dataset/train/ants/649026570_e58656104b.jpg | 0 dataset/train/ants/662541407_ff8db781e7.jpg | 0 dataset/train/ants/67270775_e9fdf77e9d.jpg | 0 dataset/train/ants/6743948_2b8c096dda.jpg | 0 dataset/train/ants/684133190_35b62c0c1d.jpg | 0 dataset/train/ants/69639610_95e0de17aa.jpg | 0 dataset/train/ants/707895295_009cf23188.jpg | 0 dataset/train/ants/7759525_1363d24e88.jpg | 0 dataset/train/ants/795000156_a9900a4a71.jpg | 0 dataset/train/ants/822537660_caf4ba5514.jpg | 0 dataset/train/ants/82852639_52b7f7f5e3.jpg | 0 dataset/train/ants/841049277_b28e58ad05.jpg | 0 dataset/train/ants/886401651_f878e888cd.jpg | 0 dataset/train/ants/892108839_f1aad4ca46.jpg | 0 dataset/train/ants/938946700_ca1c669085.jpg | 0 dataset/train/ants/957233405_25c1d1187b.jpg | 0 dataset/train/ants/9715481_b3cb4114ff.jpg | 0 dataset/train/ants/998118368_6ac1d91f81.jpg | 0 dataset/train/ants/Ant_1.jpg | 0 dataset/train/ants/MehdiabadiAnt2_600.jpg | 0 .../train/ants/Nepenthes_rafflesiana_ant.jpg | 0 .../train/ants/VietnameseAntMimicSpider.jpg | 0 dataset/train/ants/ant photos.jpg | 0 dataset/train/ants/army-ants-red-picture.jpg | 0 dataset/train/ants/formica.jpeg | 0 dataset/train/ants/hormiga_co_por.jpg | 0 dataset/train/ants/imageNotFound.gif | 0 dataset/train/ants/kurokusa.jpg | 0 dataset/train/ants/swiss-army-ant.jpg | 0 dataset/train/ants/termite-vs-ant.jpg | 0 dataset/train/ants/trap-jaw-ant-insect-bg.jpg | 0 dataset/train/bees/1092977343_cb42b38d62.jpg | 0 dataset/train/bees/1093831624_fb5fbe2308.jpg | 0 dataset/train/bees/1097045929_1753d1c765.jpg | 0 dataset/train/bees/1232245714_f862fbe385.jpg | 0 dataset/train/bees/129236073_0985e91c7d.jpg | 0 dataset/train/bees/1295655112_7813f37d21.jpg | 0 dataset/train/bees/132511197_0b86ad0fff.jpg | 0 dataset/train/bees/132826773_dbbcb117b9.jpg | 0 dataset/train/bees/150013791_969d9a968b.jpg | 0 dataset/train/bees/1508176360_2972117c9d.jpg | 0 dataset/train/bees/154600396_53e1252e52.jpg | 0 dataset/train/bees/16838648_415acd9e3f.jpg | 0 dataset/train/bees/1691282715_0addfdf5e8.jpg | 0 dataset/train/bees/17209602_fe5a5a746f.jpg | 0 dataset/train/bees/174142798_e5ad6d76e0.jpg | 0 dataset/train/bees/1799726602_8580867f71.jpg | 0 dataset/train/bees/1807583459_4fe92b3133.jpg | 0 dataset/train/bees/196430254_46bd129ae7.jpg | 0 dataset/train/bees/196658222_3fffd79c67.jpg | 0 dataset/train/bees/198508668_97d818b6c4.jpg | 0 dataset/train/bees/2031225713_50ed499635.jpg | 0 dataset/train/bees/2037437624_2d7bce461f.jpg | 0 dataset/train/bees/2053200300_8911ef438a.jpg | 0 dataset/train/bees/205835650_e6f2614bee.jpg | 0 dataset/train/bees/208702903_42fb4d9748.jpg | 0 dataset/train/bees/21399619_3e61e5bb6f.jpg | 0 dataset/train/bees/2227611847_ec72d40403.jpg | 0 dataset/train/bees/2321139806_d73d899e66.jpg | 0 dataset/train/bees/2330918208_8074770c20.jpg | 0 dataset/train/bees/2345177635_caf07159b3.jpg | 0 dataset/train/bees/2358061370_9daabbd9ac.jpg | 0 dataset/train/bees/2364597044_3c3e3fc391.jpg | 0 dataset/train/bees/2384149906_2cd8b0b699.jpg | 0 dataset/train/bees/2397446847_04ef3cd3e1.jpg | 0 dataset/train/bees/2405441001_b06c36fa72.jpg | 0 dataset/train/bees/2445215254_51698ff797.jpg | 0 dataset/train/bees/2452236943_255bfd9e58.jpg | 0 dataset/train/bees/2467959963_a7831e9ff0.jpg | 0 dataset/train/bees/2470492904_837e97800d.jpg | 0 dataset/train/bees/2477324698_3d4b1b1cab.jpg | 0 dataset/train/bees/2477349551_e75c97cf4d.jpg | 0 dataset/train/bees/2486729079_62df0920be.jpg | 0 dataset/train/bees/2486746709_c43cec0e42.jpg | 0 dataset/train/bees/2493379287_4100e1dacc.jpg | 0 dataset/train/bees/2495722465_879acf9d85.jpg | 0 dataset/train/bees/2528444139_fa728b0f5b.jpg | 0 dataset/train/bees/2538361678_9da84b77e3.jpg | 0 dataset/train/bees/2551813042_8a070aeb2b.jpg | 0 dataset/train/bees/2580598377_a4caecdb54.jpg | 0 dataset/train/bees/2601176055_8464e6aa71.jpg | 0 dataset/train/bees/2610833167_79bf0bcae5.jpg | 0 dataset/train/bees/2610838525_fe8e3cae47.jpg | 0 dataset/train/bees/2617161745_fa3ebe85b4.jpg | 0 dataset/train/bees/2625499656_e3415e374d.jpg | 0 dataset/train/bees/2634617358_f32fd16bea.jpg | 0 dataset/train/bees/2638074627_6b3ae746a0.jpg | 0 dataset/train/bees/2645107662_b73a8595cc.jpg | 0 dataset/train/bees/2651621464_a2fa8722eb.jpg | 0 dataset/train/bees/2652877533_a564830cbf.jpg | 0 dataset/train/bees/266644509_d30bb16a1b.jpg | 0 dataset/train/bees/2683605182_9d2a0c66cf.jpg | 0 dataset/train/bees/2704348794_eb5d5178c2.jpg | 0 dataset/train/bees/2707440199_cd170bd512.jpg | 0 dataset/train/bees/2710368626_cb42882dc8.jpg | 0 dataset/train/bees/2722592222_258d473e17.jpg | 0 dataset/train/bees/2728759455_ce9bb8cd7a.jpg | 0 dataset/train/bees/2756397428_1d82a08807.jpg | 0 dataset/train/bees/2765347790_da6cf6cb40.jpg | 0 dataset/train/bees/2781170484_5d61835d63.jpg | 0 dataset/train/bees/279113587_b4843db199.jpg | 0 dataset/train/bees/2792000093_e8ae0718cf.jpg | 0 dataset/train/bees/2801728106_833798c909.jpg | 0 dataset/train/bees/2822388965_f6dca2a275.jpg | 0 dataset/train/bees/2861002136_52c7c6f708.jpg | 0 dataset/train/bees/2908916142_a7ac8b57a8.jpg | 0 dataset/train/bees/29494643_e3410f0d37.jpg | 0 dataset/train/bees/2959730355_416a18c63c.jpg | 0 dataset/train/bees/2962405283_22718d9617.jpg | 0 dataset/train/bees/3006264892_30e9cced70.jpg | 0 dataset/train/bees/3030189811_01d095b793.jpg | 0 dataset/train/bees/3030772428_8578335616.jpg | 0 dataset/train/bees/3044402684_3853071a87.jpg | 0 dataset/train/bees/3074585407_9854eb3153.jpg | 0 dataset/train/bees/3079610310_ac2d0ae7bc.jpg | 0 dataset/train/bees/3090975720_71f12e6de4.jpg | 0 dataset/train/bees/3100226504_c0d4f1e3f1.jpg | 0 dataset/train/bees/342758693_c56b89b6b6.jpg | 0 dataset/train/bees/354167719_22dca13752.jpg | 0 dataset/train/bees/359928878_b3b418c728.jpg | 0 dataset/train/bees/365759866_b15700c59b.jpg | 0 dataset/train/bees/36900412_92b81831ad.jpg | 0 dataset/train/bees/39672681_1302d204d1.jpg | 0 dataset/train/bees/39747887_42df2855ee.jpg | 0 dataset/train/bees/421515404_e87569fd8b.jpg | 0 dataset/train/bees/444532809_9e931e2279.jpg | 0 dataset/train/bees/446296270_d9e8b93ecf.jpg | 0 dataset/train/bees/452462677_7be43af8ff.jpg | 0 dataset/train/bees/452462695_40a4e5b559.jpg | 0 dataset/train/bees/457457145_5f86eb7e9c.jpg | 0 dataset/train/bees/465133211_80e0c27f60.jpg | 0 dataset/train/bees/469333327_358ba8fe8a.jpg | 0 dataset/train/bees/472288710_2abee16fa0.jpg | 0 dataset/train/bees/473618094_8ffdcab215.jpg | 0 dataset/train/bees/476347960_52edd72b06.jpg | 0 dataset/train/bees/478701318_bbd5e557b8.jpg | 0 dataset/train/bees/507288830_f46e8d4cb2.jpg | 0 dataset/train/bees/509247772_2db2d01374.jpg | 0 dataset/train/bees/513545352_fd3e7c7c5d.jpg | 0 dataset/train/bees/522104315_5d3cb2758e.jpg | 0 dataset/train/bees/537309131_532bfa59ea.jpg | 0 dataset/train/bees/586041248_3032e277a9.jpg | 0 dataset/train/bees/760526046_547e8b381f.jpg | 0 dataset/train/bees/760568592_45a52c847f.jpg | 0 dataset/train/bees/774440991_63a4aa0cbe.jpg | 0 dataset/train/bees/85112639_6e860b0469.jpg | 0 dataset/train/bees/873076652_eb098dab2d.jpg | 0 dataset/train/bees/90179376_abc234e5f4.jpg | 0 dataset/train/bees/92663402_37f379e57a.jpg | 0 dataset/train/bees/95238259_98470c5b10.jpg | 0 dataset/train/bees/969455125_58c797ef17.jpg | 0 dataset/train/bees/98391118_bdb1e80cce.jpg | 0 dataset/val/ants/10308379_1b6c72e180.jpg | 0 dataset/val/ants/1053149811_f62a3410d3.jpg | 0 dataset/val/ants/1073564163_225a64f170.jpg | 0 dataset/val/ants/1119630822_cd325ea21a.jpg | 0 dataset/val/ants/1124525276_816a07c17f.jpg | 0 dataset/val/ants/11381045_b352a47d8c.jpg | 0 dataset/val/ants/119785936_dd428e40c3.jpg | 0 dataset/val/ants/1247887232_edcb61246c.jpg | 0 dataset/val/ants/1262751255_c56c042b7b.jpg | 0 dataset/val/ants/1337725712_2eb53cd742.jpg | 0 dataset/val/ants/1358854066_5ad8015f7f.jpg | 0 dataset/val/ants/1440002809_b268d9a66a.jpg | 0 dataset/val/ants/147542264_79506478c2.jpg | 0 dataset/val/ants/152286280_411648ec27.jpg | 0 dataset/val/ants/153320619_2aeb5fa0ee.jpg | 0 dataset/val/ants/153783656_85f9c3ac70.jpg | 0 dataset/val/ants/157401988_d0564a9d02.jpg | 0 dataset/val/ants/159515240_d5981e20d1.jpg | 0 dataset/val/ants/161076144_124db762d6.jpg | 0 dataset/val/ants/161292361_c16e0bf57a.jpg | 0 dataset/val/ants/170652283_ecdaff5d1a.jpg | 0 dataset/val/ants/17081114_79b9a27724.jpg | 0 dataset/val/ants/172772109_d0a8e15fb0.jpg | 0 dataset/val/ants/1743840368_b5ccda82b7.jpg | 0 dataset/val/ants/181942028_961261ef48.jpg | 0 dataset/val/ants/183260961_64ab754c97.jpg | 0 dataset/val/ants/2039585088_c6f47c592e.jpg | 0 dataset/val/ants/205398178_c395c5e460.jpg | 0 dataset/val/ants/208072188_f293096296.jpg | 0 dataset/val/ants/209615353_eeb38ba204.jpg | 0 dataset/val/ants/2104709400_8831b4fc6f.jpg | 0 dataset/val/ants/212100470_b485e7b7b9.jpg | 0 dataset/val/ants/2127908701_d49dc83c97.jpg | 0 dataset/val/ants/2191997003_379df31291.jpg | 0 dataset/val/ants/2211974567_ee4606b493.jpg | 0 dataset/val/ants/2219621907_47bc7cc6b0.jpg | 0 dataset/val/ants/2238242353_52c82441df.jpg | 0 dataset/val/ants/2255445811_dabcdf7258.jpg | 0 dataset/val/ants/239161491_86ac23b0a3.jpg | 0 dataset/val/ants/263615709_cfb28f6b8e.jpg | 0 dataset/val/ants/308196310_1db5ffa01b.jpg | 0 dataset/val/ants/319494379_648fb5a1c6.jpg | 0 dataset/val/ants/35558229_1fa4608a7a.jpg | 0 dataset/val/ants/412436937_4c2378efc2.jpg | 0 dataset/val/ants/436944325_d4925a38c7.jpg | 0 dataset/val/ants/445356866_6cb3289067.jpg | 0 dataset/val/ants/459442412_412fecf3fe.jpg | 0 dataset/val/ants/470127071_8b8ee2bd74.jpg | 0 dataset/val/ants/477437164_bc3e6e594a.jpg | 0 dataset/val/ants/488272201_c5aa281348.jpg | 0 dataset/val/ants/502717153_3e4865621a.jpg | 0 dataset/val/ants/518746016_bcc28f8b5b.jpg | 0 dataset/val/ants/540543309_ddbb193ee5.jpg | 0 dataset/val/ants/562589509_7e55469b97.jpg | 0 dataset/val/ants/57264437_a19006872f.jpg | 0 dataset/val/ants/573151833_ebbc274b77.jpg | 0 dataset/val/ants/649407494_9b6bc4949f.jpg | 0 dataset/val/ants/751649788_78dd7d16ce.jpg | 0 dataset/val/ants/768870506_8f115d3d37.jpg | 0 ...px-Meat_eater_ant_qeen_excavating_hole.jpg | 0 dataset/val/ants/8124241_36b290d372.jpg | 0 dataset/val/ants/8398478_50ef10c47a.jpg | 0 dataset/val/ants/854534770_31f6156383.jpg | 0 dataset/val/ants/892676922_4ab37dce07.jpg | 0 dataset/val/ants/94999827_36895faade.jpg | 0 dataset/val/ants/Ant-1818.jpg | 0 dataset/val/ants/F.pergan.28(f).jpg | 0 dataset/val/ants/Hormiga.jpg | 0 ...tellenbosch-South-Africa-closeup-1-DHD.jpg | 0 dataset/val/ants/desert_ant.jpg | 0 dataset/val/bees/1032546534_06907fe3b3.jpg | 0 dataset/val/bees/10870992_eebeeb3a12.jpg | 0 dataset/val/bees/1181173278_23c36fac71.jpg | 0 dataset/val/bees/1297972485_33266a18d9.jpg | 0 dataset/val/bees/1328423762_f7a88a8451.jpg | 0 dataset/val/bees/1355974687_1341c1face.jpg | 0 dataset/val/bees/144098310_a4176fd54d.jpg | 0 dataset/val/bees/1486120850_490388f84b.jpg | 0 dataset/val/bees/149973093_da3c446268.jpg | 0 dataset/val/bees/151594775_ee7dc17b60.jpg | 0 dataset/val/bees/151603988_2c6f7d14c7.jpg | 0 dataset/val/bees/1519368889_4270261ee3.jpg | 0 dataset/val/bees/152789693_220b003452.jpg | 0 dataset/val/bees/177677657_a38c97e572.jpg | 0 dataset/val/bees/1799729694_0c40101071.jpg | 0 dataset/val/bees/181171681_c5a1a82ded.jpg | 0 dataset/val/bees/187130242_4593a4c610.jpg | 0 dataset/val/bees/203868383_0fcbb48278.jpg | 0 dataset/val/bees/2060668999_e11edb10d0.jpg | 0 dataset/val/bees/2086294791_6f3789d8a6.jpg | 0 dataset/val/bees/2103637821_8d26ee6b90.jpg | 0 dataset/val/bees/2104135106_a65eede1de.jpg | 0 dataset/val/bees/215512424_687e1e0821.jpg | 0 dataset/val/bees/2173503984_9c6aaaa7e2.jpg | 0 dataset/val/bees/220376539_20567395d8.jpg | 0 dataset/val/bees/224841383_d050f5f510.jpg | 0 dataset/val/bees/2321144482_f3785ba7b2.jpg | 0 dataset/val/bees/238161922_55fa9a76ae.jpg | 0 dataset/val/bees/2407809945_fb525ef54d.jpg | 0 dataset/val/bees/2415414155_1916f03b42.jpg | 0 dataset/val/bees/2438480600_40a1249879.jpg | 0 dataset/val/bees/2444778727_4b781ac424.jpg | 0 dataset/val/bees/2457841282_7867f16639.jpg | 0 dataset/val/bees/2470492902_3572c90f75.jpg | 0 dataset/val/bees/2478216347_535c8fe6d7.jpg | 0 dataset/val/bees/2501530886_e20952b97d.jpg | 0 dataset/val/bees/2506114833_90a41c5267.jpg | 0 dataset/val/bees/2509402554_31821cb0b6.jpg | 0 dataset/val/bees/2525379273_dcb26a516d.jpg | 0 dataset/val/bees/26589803_5ba7000313.jpg | 0 dataset/val/bees/2668391343_45e272cd07.jpg | 0 dataset/val/bees/2670536155_c170f49cd0.jpg | 0 dataset/val/bees/2685605303_9eed79d59d.jpg | 0 dataset/val/bees/2702408468_d9ed795f4f.jpg | 0 dataset/val/bees/2709775832_85b4b50a57.jpg | 0 dataset/val/bees/2717418782_bd83307d9f.jpg | 0 dataset/val/bees/272986700_d4d4bf8c4b.jpg | 0 dataset/val/bees/2741763055_9a7bb00802.jpg | 0 dataset/val/bees/2745389517_250a397f31.jpg | 0 dataset/val/bees/2751836205_6f7b5eff30.jpg | 0 dataset/val/bees/2782079948_8d4e94a826.jpg | 0 dataset/val/bees/2809496124_5f25b5946a.jpg | 0 dataset/val/bees/2815838190_0a9889d995.jpg | 0 dataset/val/bees/2841437312_789699c740.jpg | 0 dataset/val/bees/2883093452_7e3a1eb53f.jpg | 0 dataset/val/bees/290082189_f66cb80bfc.jpg | 0 dataset/val/bees/296565463_d07a7bed96.jpg | 0 dataset/val/bees/3077452620_548c79fda0.jpg | 0 dataset/val/bees/348291597_ee836fbb1a.jpg | 0 dataset/val/bees/350436573_41f4ecb6c8.jpg | 0 dataset/val/bees/353266603_d3eac7e9a0.jpg | 0 dataset/val/bees/372228424_16da1f8884.jpg | 0 dataset/val/bees/400262091_701c00031c.jpg | 0 dataset/val/bees/416144384_961c326481.jpg | 0 dataset/val/bees/44105569_16720a960c.jpg | 0 dataset/val/bees/456097971_860949c4fc.jpg | 0 dataset/val/bees/464594019_1b24a28bb1.jpg | 0 dataset/val/bees/485743562_d8cc6b8f73.jpg | 0 dataset/val/bees/540976476_844950623f.jpg | 0 dataset/val/bees/54736755_c057723f64.jpg | 0 dataset/val/bees/57459255_752774f1b2.jpg | 0 dataset/val/bees/576452297_897023f002.jpg | 0 dataset/val/bees/586474709_ae436da045.jpg | 0 dataset/val/bees/590318879_68cf112861.jpg | 0 dataset/val/bees/59798110_2b6a3c8031.jpg | 0 dataset/val/bees/603709866_a97c7cfc72.jpg | 0 dataset/val/bees/603711658_4c8cd2201e.jpg | 0 dataset/val/bees/65038344_52a45d090d.jpg | 0 ...00d8341c630a53ef00e553d0beb18834-800wi.jpg | 0 dataset/val/bees/72100438_73de9f17af.jpg | 0 dataset/val/bees/759745145_e8bc776ec8.jpg | 0 dataset/val/bees/936182217_c4caa5222d.jpg | 0 dataset/val/bees/abeja.jpg | 0 dataset_transform.py | 25 ++ images/7759525_1363d24e88.jpg | 0 ...fevents.1690790854.DESKTOP-NPRDBA4.11540.0 | 0 ...fevents.1690793100.DESKTOP-NPRDBA4.20196.0 | 0 ...fevents.1690795272.DESKTOP-NPRDBA4.12024.0 | 0 read_data.py | 33 +++ src/nn_conv.py | 31 +++ src/nn_conv2d.py | 38 +++ src/nn_liner.py | 30 +++ src/nn_maxpool.py | 50 ++++ src/nn_module.py | 17 ++ src/nn_relu.py | 40 +++ test/call_test.py | 11 + test_tb.py | 18 ++ transforms_test.py | 15 ++ userful_transforms.py | 44 ++++ 437 files changed, 631 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/.name create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/learn_torch.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 dataloader.py create mode 100644 dataloader/events.out.tfevents.1690783629.DESKTOP-NPRDBA4.18472.0 create mode 100644 dataloader/events.out.tfevents.1690783658.DESKTOP-NPRDBA4.20520.0 create mode 100644 dataloader/events.out.tfevents.1690783697.DESKTOP-NPRDBA4.1120.0 create mode 100644 dataloader/events.out.tfevents.1690784147.DESKTOP-NPRDBA4.3076.0 create mode 100644 dataset/cifar-10-batches-py/batches.meta create mode 100644 dataset/cifar-10-batches-py/data_batch_1 create mode 100644 dataset/cifar-10-batches-py/data_batch_2 create mode 100644 dataset/cifar-10-batches-py/data_batch_3 create mode 100644 dataset/cifar-10-batches-py/data_batch_4 create mode 100644 dataset/cifar-10-batches-py/data_batch_5 create mode 100644 dataset/cifar-10-batches-py/readme.html create mode 100644 dataset/cifar-10-batches-py/test_batch create mode 100644 dataset/cifar-10-python.tar.gz create mode 100644 dataset/train/ants/0013035.jpg create mode 100644 dataset/train/ants/1030023514_aad5c608f9.jpg create mode 100644 dataset/train/ants/1095476100_3906d8afde.jpg create mode 100644 dataset/train/ants/1099452230_d1949d3250.jpg create mode 100644 dataset/train/ants/116570827_e9c126745d.jpg create mode 100644 dataset/train/ants/1225872729_6f0856588f.jpg create mode 100644 dataset/train/ants/1262877379_64fcada201.jpg create mode 100644 dataset/train/ants/1269756697_0bce92cdab.jpg create mode 100644 dataset/train/ants/1286984635_5119e80de1.jpg create mode 100644 dataset/train/ants/132478121_2a430adea2.jpg create mode 100644 dataset/train/ants/1360291657_dc248c5eea.jpg create mode 100644 dataset/train/ants/1368913450_e146e2fb6d.jpg create mode 100644 dataset/train/ants/1473187633_63ccaacea6.jpg create mode 100644 dataset/train/ants/148715752_302c84f5a4.jpg create mode 100644 dataset/train/ants/1489674356_09d48dde0a.jpg create mode 100644 dataset/train/ants/149244013_c529578289.jpg create mode 100644 dataset/train/ants/150801003_3390b73135.jpg create mode 100644 dataset/train/ants/150801171_cd86f17ed8.jpg create mode 100644 dataset/train/ants/154124431_65460430f2.jpg create mode 100644 dataset/train/ants/162603798_40b51f1654.jpg create mode 100644 dataset/train/ants/1660097129_384bf54490.jpg create mode 100644 dataset/train/ants/167890289_dd5ba923f3.jpg create mode 100644 dataset/train/ants/1693954099_46d4c20605.jpg create mode 100644 dataset/train/ants/175998972.jpg create mode 100644 dataset/train/ants/178538489_bec7649292.jpg create mode 100644 dataset/train/ants/1804095607_0341701e1c.jpg create mode 100644 dataset/train/ants/1808777855_2a895621d7.jpg create mode 100644 dataset/train/ants/188552436_605cc9b36b.jpg create mode 100644 dataset/train/ants/1917341202_d00a7f9af5.jpg create mode 100644 dataset/train/ants/1924473702_daa9aacdbe.jpg create mode 100644 dataset/train/ants/196057951_63bf063b92.jpg create mode 100644 dataset/train/ants/196757565_326437f5fe.jpg create mode 100644 dataset/train/ants/201558278_fe4caecc76.jpg create mode 100644 dataset/train/ants/201790779_527f4c0168.jpg create mode 100644 dataset/train/ants/2019439677_2db655d361.jpg create mode 100644 dataset/train/ants/207947948_3ab29d7207.jpg create mode 100644 dataset/train/ants/20935278_9190345f6b.jpg create mode 100644 dataset/train/ants/224655713_3956f7d39a.jpg create mode 100644 dataset/train/ants/2265824718_2c96f485da.jpg create mode 100644 dataset/train/ants/2265825502_fff99cfd2d.jpg create mode 100644 dataset/train/ants/226951206_d6bf946504.jpg create mode 100644 dataset/train/ants/2278278459_6b99605e50.jpg create mode 100644 dataset/train/ants/2288450226_a6e96e8fdf.jpg create mode 100644 dataset/train/ants/2288481644_83ff7e4572.jpg create mode 100644 dataset/train/ants/2292213964_ca51ce4bef.jpg create mode 100644 dataset/train/ants/24335309_c5ea483bb8.jpg create mode 100644 dataset/train/ants/245647475_9523dfd13e.jpg create mode 100644 dataset/train/ants/255434217_1b2b3fe0a4.jpg create mode 100644 dataset/train/ants/258217966_d9d90d18d3.jpg create mode 100644 dataset/train/ants/275429470_b2d7d9290b.jpg create mode 100644 dataset/train/ants/28847243_e79fe052cd.jpg create mode 100644 dataset/train/ants/318052216_84dff3f98a.jpg create mode 100644 dataset/train/ants/334167043_cbd1adaeb9.jpg create mode 100644 dataset/train/ants/339670531_94b75ae47a.jpg create mode 100644 dataset/train/ants/342438950_a3da61deab.jpg create mode 100644 dataset/train/ants/36439863_0bec9f554f.jpg create mode 100644 dataset/train/ants/374435068_7eee412ec4.jpg create mode 100644 dataset/train/ants/382971067_0bfd33afe0.jpg create mode 100644 dataset/train/ants/384191229_5779cf591b.jpg create mode 100644 dataset/train/ants/386190770_672743c9a7.jpg create mode 100644 dataset/train/ants/392382602_1b7bed32fa.jpg create mode 100644 dataset/train/ants/403746349_71384f5b58.jpg create mode 100644 dataset/train/ants/408393566_b5b694119b.jpg create mode 100644 dataset/train/ants/424119020_6d57481dab.jpg create mode 100644 dataset/train/ants/424873399_47658a91fb.jpg create mode 100644 dataset/train/ants/450057712_771b3bfc91.jpg create mode 100644 dataset/train/ants/45472593_bfd624f8dc.jpg create mode 100644 dataset/train/ants/459694881_ac657d3187.jpg create mode 100644 dataset/train/ants/460372577_f2f6a8c9fc.jpg create mode 100644 dataset/train/ants/460874319_0a45ab4d05.jpg create mode 100644 dataset/train/ants/466430434_4000737de9.jpg create mode 100644 dataset/train/ants/470127037_513711fd21.jpg create mode 100644 dataset/train/ants/474806473_ca6caab245.jpg create mode 100644 dataset/train/ants/475961153_b8c13fd405.jpg create mode 100644 dataset/train/ants/484293231_e53cfc0c89.jpg create mode 100644 dataset/train/ants/49375974_e28ba6f17e.jpg create mode 100644 dataset/train/ants/506249802_207cd979b4.jpg create mode 100644 dataset/train/ants/506249836_717b73f540.jpg create mode 100644 dataset/train/ants/512164029_c0a66b8498.jpg create mode 100644 dataset/train/ants/512863248_43c8ce579b.jpg create mode 100644 dataset/train/ants/518773929_734dbc5ff4.jpg create mode 100644 dataset/train/ants/522163566_fec115ca66.jpg create mode 100644 dataset/train/ants/522415432_2218f34bf8.jpg create mode 100644 dataset/train/ants/531979952_bde12b3bc0.jpg create mode 100644 dataset/train/ants/533848102_70a85ad6dd.jpg create mode 100644 dataset/train/ants/535522953_308353a07c.jpg create mode 100644 dataset/train/ants/540889389_48bb588b21.jpg create mode 100644 dataset/train/ants/541630764_dbd285d63c.jpg create mode 100644 dataset/train/ants/543417860_b14237f569.jpg create mode 100644 dataset/train/ants/560966032_988f4d7bc4.jpg create mode 100644 dataset/train/ants/5650366_e22b7e1065.jpg create mode 100644 dataset/train/ants/6240329_72c01e663e.jpg create mode 100644 dataset/train/ants/6240338_93729615ec.jpg create mode 100644 dataset/train/ants/649026570_e58656104b.jpg create mode 100644 dataset/train/ants/662541407_ff8db781e7.jpg create mode 100644 dataset/train/ants/67270775_e9fdf77e9d.jpg create mode 100644 dataset/train/ants/6743948_2b8c096dda.jpg create mode 100644 dataset/train/ants/684133190_35b62c0c1d.jpg create mode 100644 dataset/train/ants/69639610_95e0de17aa.jpg create mode 100644 dataset/train/ants/707895295_009cf23188.jpg create mode 100644 dataset/train/ants/7759525_1363d24e88.jpg create mode 100644 dataset/train/ants/795000156_a9900a4a71.jpg create mode 100644 dataset/train/ants/822537660_caf4ba5514.jpg create mode 100644 dataset/train/ants/82852639_52b7f7f5e3.jpg create mode 100644 dataset/train/ants/841049277_b28e58ad05.jpg create mode 100644 dataset/train/ants/886401651_f878e888cd.jpg create mode 100644 dataset/train/ants/892108839_f1aad4ca46.jpg create mode 100644 dataset/train/ants/938946700_ca1c669085.jpg create mode 100644 dataset/train/ants/957233405_25c1d1187b.jpg create mode 100644 dataset/train/ants/9715481_b3cb4114ff.jpg create mode 100644 dataset/train/ants/998118368_6ac1d91f81.jpg create mode 100644 dataset/train/ants/Ant_1.jpg create mode 100644 dataset/train/ants/MehdiabadiAnt2_600.jpg create mode 100644 dataset/train/ants/Nepenthes_rafflesiana_ant.jpg create mode 100644 dataset/train/ants/VietnameseAntMimicSpider.jpg create mode 100644 dataset/train/ants/ant photos.jpg create mode 100644 dataset/train/ants/army-ants-red-picture.jpg create mode 100644 dataset/train/ants/formica.jpeg create mode 100644 dataset/train/ants/hormiga_co_por.jpg create mode 100644 dataset/train/ants/imageNotFound.gif create mode 100644 dataset/train/ants/kurokusa.jpg create mode 100644 dataset/train/ants/swiss-army-ant.jpg create mode 100644 dataset/train/ants/termite-vs-ant.jpg create mode 100644 dataset/train/ants/trap-jaw-ant-insect-bg.jpg create mode 100644 dataset/train/bees/1092977343_cb42b38d62.jpg create mode 100644 dataset/train/bees/1093831624_fb5fbe2308.jpg create mode 100644 dataset/train/bees/1097045929_1753d1c765.jpg create mode 100644 dataset/train/bees/1232245714_f862fbe385.jpg create mode 100644 dataset/train/bees/129236073_0985e91c7d.jpg create mode 100644 dataset/train/bees/1295655112_7813f37d21.jpg create mode 100644 dataset/train/bees/132511197_0b86ad0fff.jpg create mode 100644 dataset/train/bees/132826773_dbbcb117b9.jpg create mode 100644 dataset/train/bees/150013791_969d9a968b.jpg create mode 100644 dataset/train/bees/1508176360_2972117c9d.jpg create mode 100644 dataset/train/bees/154600396_53e1252e52.jpg create mode 100644 dataset/train/bees/16838648_415acd9e3f.jpg create mode 100644 dataset/train/bees/1691282715_0addfdf5e8.jpg create mode 100644 dataset/train/bees/17209602_fe5a5a746f.jpg create mode 100644 dataset/train/bees/174142798_e5ad6d76e0.jpg create mode 100644 dataset/train/bees/1799726602_8580867f71.jpg create mode 100644 dataset/train/bees/1807583459_4fe92b3133.jpg create mode 100644 dataset/train/bees/196430254_46bd129ae7.jpg create mode 100644 dataset/train/bees/196658222_3fffd79c67.jpg create mode 100644 dataset/train/bees/198508668_97d818b6c4.jpg create mode 100644 dataset/train/bees/2031225713_50ed499635.jpg create mode 100644 dataset/train/bees/2037437624_2d7bce461f.jpg create mode 100644 dataset/train/bees/2053200300_8911ef438a.jpg create mode 100644 dataset/train/bees/205835650_e6f2614bee.jpg create mode 100644 dataset/train/bees/208702903_42fb4d9748.jpg create mode 100644 dataset/train/bees/21399619_3e61e5bb6f.jpg create mode 100644 dataset/train/bees/2227611847_ec72d40403.jpg create mode 100644 dataset/train/bees/2321139806_d73d899e66.jpg create mode 100644 dataset/train/bees/2330918208_8074770c20.jpg create mode 100644 dataset/train/bees/2345177635_caf07159b3.jpg create mode 100644 dataset/train/bees/2358061370_9daabbd9ac.jpg create mode 100644 dataset/train/bees/2364597044_3c3e3fc391.jpg create mode 100644 dataset/train/bees/2384149906_2cd8b0b699.jpg create mode 100644 dataset/train/bees/2397446847_04ef3cd3e1.jpg create mode 100644 dataset/train/bees/2405441001_b06c36fa72.jpg create mode 100644 dataset/train/bees/2445215254_51698ff797.jpg create mode 100644 dataset/train/bees/2452236943_255bfd9e58.jpg create mode 100644 dataset/train/bees/2467959963_a7831e9ff0.jpg create mode 100644 dataset/train/bees/2470492904_837e97800d.jpg create mode 100644 dataset/train/bees/2477324698_3d4b1b1cab.jpg create mode 100644 dataset/train/bees/2477349551_e75c97cf4d.jpg create mode 100644 dataset/train/bees/2486729079_62df0920be.jpg create mode 100644 dataset/train/bees/2486746709_c43cec0e42.jpg create mode 100644 dataset/train/bees/2493379287_4100e1dacc.jpg create mode 100644 dataset/train/bees/2495722465_879acf9d85.jpg create mode 100644 dataset/train/bees/2528444139_fa728b0f5b.jpg create mode 100644 dataset/train/bees/2538361678_9da84b77e3.jpg create mode 100644 dataset/train/bees/2551813042_8a070aeb2b.jpg create mode 100644 dataset/train/bees/2580598377_a4caecdb54.jpg create mode 100644 dataset/train/bees/2601176055_8464e6aa71.jpg create mode 100644 dataset/train/bees/2610833167_79bf0bcae5.jpg create mode 100644 dataset/train/bees/2610838525_fe8e3cae47.jpg create mode 100644 dataset/train/bees/2617161745_fa3ebe85b4.jpg create mode 100644 dataset/train/bees/2625499656_e3415e374d.jpg create mode 100644 dataset/train/bees/2634617358_f32fd16bea.jpg create mode 100644 dataset/train/bees/2638074627_6b3ae746a0.jpg create mode 100644 dataset/train/bees/2645107662_b73a8595cc.jpg create mode 100644 dataset/train/bees/2651621464_a2fa8722eb.jpg create mode 100644 dataset/train/bees/2652877533_a564830cbf.jpg create mode 100644 dataset/train/bees/266644509_d30bb16a1b.jpg create mode 100644 dataset/train/bees/2683605182_9d2a0c66cf.jpg create mode 100644 dataset/train/bees/2704348794_eb5d5178c2.jpg create mode 100644 dataset/train/bees/2707440199_cd170bd512.jpg create mode 100644 dataset/train/bees/2710368626_cb42882dc8.jpg create mode 100644 dataset/train/bees/2722592222_258d473e17.jpg create mode 100644 dataset/train/bees/2728759455_ce9bb8cd7a.jpg create mode 100644 dataset/train/bees/2756397428_1d82a08807.jpg create mode 100644 dataset/train/bees/2765347790_da6cf6cb40.jpg create mode 100644 dataset/train/bees/2781170484_5d61835d63.jpg create mode 100644 dataset/train/bees/279113587_b4843db199.jpg create mode 100644 dataset/train/bees/2792000093_e8ae0718cf.jpg create mode 100644 dataset/train/bees/2801728106_833798c909.jpg create mode 100644 dataset/train/bees/2822388965_f6dca2a275.jpg create mode 100644 dataset/train/bees/2861002136_52c7c6f708.jpg create mode 100644 dataset/train/bees/2908916142_a7ac8b57a8.jpg create mode 100644 dataset/train/bees/29494643_e3410f0d37.jpg create mode 100644 dataset/train/bees/2959730355_416a18c63c.jpg create mode 100644 dataset/train/bees/2962405283_22718d9617.jpg create mode 100644 dataset/train/bees/3006264892_30e9cced70.jpg create mode 100644 dataset/train/bees/3030189811_01d095b793.jpg create mode 100644 dataset/train/bees/3030772428_8578335616.jpg create mode 100644 dataset/train/bees/3044402684_3853071a87.jpg create mode 100644 dataset/train/bees/3074585407_9854eb3153.jpg create mode 100644 dataset/train/bees/3079610310_ac2d0ae7bc.jpg create mode 100644 dataset/train/bees/3090975720_71f12e6de4.jpg create mode 100644 dataset/train/bees/3100226504_c0d4f1e3f1.jpg create mode 100644 dataset/train/bees/342758693_c56b89b6b6.jpg create mode 100644 dataset/train/bees/354167719_22dca13752.jpg create mode 100644 dataset/train/bees/359928878_b3b418c728.jpg create mode 100644 dataset/train/bees/365759866_b15700c59b.jpg create mode 100644 dataset/train/bees/36900412_92b81831ad.jpg create mode 100644 dataset/train/bees/39672681_1302d204d1.jpg create mode 100644 dataset/train/bees/39747887_42df2855ee.jpg create mode 100644 dataset/train/bees/421515404_e87569fd8b.jpg create mode 100644 dataset/train/bees/444532809_9e931e2279.jpg create mode 100644 dataset/train/bees/446296270_d9e8b93ecf.jpg create mode 100644 dataset/train/bees/452462677_7be43af8ff.jpg create mode 100644 dataset/train/bees/452462695_40a4e5b559.jpg create mode 100644 dataset/train/bees/457457145_5f86eb7e9c.jpg create mode 100644 dataset/train/bees/465133211_80e0c27f60.jpg create mode 100644 dataset/train/bees/469333327_358ba8fe8a.jpg create mode 100644 dataset/train/bees/472288710_2abee16fa0.jpg create mode 100644 dataset/train/bees/473618094_8ffdcab215.jpg create mode 100644 dataset/train/bees/476347960_52edd72b06.jpg create mode 100644 dataset/train/bees/478701318_bbd5e557b8.jpg create mode 100644 dataset/train/bees/507288830_f46e8d4cb2.jpg create mode 100644 dataset/train/bees/509247772_2db2d01374.jpg create mode 100644 dataset/train/bees/513545352_fd3e7c7c5d.jpg create mode 100644 dataset/train/bees/522104315_5d3cb2758e.jpg create mode 100644 dataset/train/bees/537309131_532bfa59ea.jpg create mode 100644 dataset/train/bees/586041248_3032e277a9.jpg create mode 100644 dataset/train/bees/760526046_547e8b381f.jpg create mode 100644 dataset/train/bees/760568592_45a52c847f.jpg create mode 100644 dataset/train/bees/774440991_63a4aa0cbe.jpg create mode 100644 dataset/train/bees/85112639_6e860b0469.jpg create mode 100644 dataset/train/bees/873076652_eb098dab2d.jpg create mode 100644 dataset/train/bees/90179376_abc234e5f4.jpg create mode 100644 dataset/train/bees/92663402_37f379e57a.jpg create mode 100644 dataset/train/bees/95238259_98470c5b10.jpg create mode 100644 dataset/train/bees/969455125_58c797ef17.jpg create mode 100644 dataset/train/bees/98391118_bdb1e80cce.jpg create mode 100644 dataset/val/ants/10308379_1b6c72e180.jpg create mode 100644 dataset/val/ants/1053149811_f62a3410d3.jpg create mode 100644 dataset/val/ants/1073564163_225a64f170.jpg create mode 100644 dataset/val/ants/1119630822_cd325ea21a.jpg create mode 100644 dataset/val/ants/1124525276_816a07c17f.jpg create mode 100644 dataset/val/ants/11381045_b352a47d8c.jpg create mode 100644 dataset/val/ants/119785936_dd428e40c3.jpg create mode 100644 dataset/val/ants/1247887232_edcb61246c.jpg create mode 100644 dataset/val/ants/1262751255_c56c042b7b.jpg create mode 100644 dataset/val/ants/1337725712_2eb53cd742.jpg create mode 100644 dataset/val/ants/1358854066_5ad8015f7f.jpg create mode 100644 dataset/val/ants/1440002809_b268d9a66a.jpg create mode 100644 dataset/val/ants/147542264_79506478c2.jpg create mode 100644 dataset/val/ants/152286280_411648ec27.jpg create mode 100644 dataset/val/ants/153320619_2aeb5fa0ee.jpg create mode 100644 dataset/val/ants/153783656_85f9c3ac70.jpg create mode 100644 dataset/val/ants/157401988_d0564a9d02.jpg create mode 100644 dataset/val/ants/159515240_d5981e20d1.jpg create mode 100644 dataset/val/ants/161076144_124db762d6.jpg create mode 100644 dataset/val/ants/161292361_c16e0bf57a.jpg create mode 100644 dataset/val/ants/170652283_ecdaff5d1a.jpg create mode 100644 dataset/val/ants/17081114_79b9a27724.jpg create mode 100644 dataset/val/ants/172772109_d0a8e15fb0.jpg create mode 100644 dataset/val/ants/1743840368_b5ccda82b7.jpg create mode 100644 dataset/val/ants/181942028_961261ef48.jpg create mode 100644 dataset/val/ants/183260961_64ab754c97.jpg create mode 100644 dataset/val/ants/2039585088_c6f47c592e.jpg create mode 100644 dataset/val/ants/205398178_c395c5e460.jpg create mode 100644 dataset/val/ants/208072188_f293096296.jpg create mode 100644 dataset/val/ants/209615353_eeb38ba204.jpg create mode 100644 dataset/val/ants/2104709400_8831b4fc6f.jpg create mode 100644 dataset/val/ants/212100470_b485e7b7b9.jpg create mode 100644 dataset/val/ants/2127908701_d49dc83c97.jpg create mode 100644 dataset/val/ants/2191997003_379df31291.jpg create mode 100644 dataset/val/ants/2211974567_ee4606b493.jpg create mode 100644 dataset/val/ants/2219621907_47bc7cc6b0.jpg create mode 100644 dataset/val/ants/2238242353_52c82441df.jpg create mode 100644 dataset/val/ants/2255445811_dabcdf7258.jpg create mode 100644 dataset/val/ants/239161491_86ac23b0a3.jpg create mode 100644 dataset/val/ants/263615709_cfb28f6b8e.jpg create mode 100644 dataset/val/ants/308196310_1db5ffa01b.jpg create mode 100644 dataset/val/ants/319494379_648fb5a1c6.jpg create mode 100644 dataset/val/ants/35558229_1fa4608a7a.jpg create mode 100644 dataset/val/ants/412436937_4c2378efc2.jpg create mode 100644 dataset/val/ants/436944325_d4925a38c7.jpg create mode 100644 dataset/val/ants/445356866_6cb3289067.jpg create mode 100644 dataset/val/ants/459442412_412fecf3fe.jpg create mode 100644 dataset/val/ants/470127071_8b8ee2bd74.jpg create mode 100644 dataset/val/ants/477437164_bc3e6e594a.jpg create mode 100644 dataset/val/ants/488272201_c5aa281348.jpg create mode 100644 dataset/val/ants/502717153_3e4865621a.jpg create mode 100644 dataset/val/ants/518746016_bcc28f8b5b.jpg create mode 100644 dataset/val/ants/540543309_ddbb193ee5.jpg create mode 100644 dataset/val/ants/562589509_7e55469b97.jpg create mode 100644 dataset/val/ants/57264437_a19006872f.jpg create mode 100644 dataset/val/ants/573151833_ebbc274b77.jpg create mode 100644 dataset/val/ants/649407494_9b6bc4949f.jpg create mode 100644 dataset/val/ants/751649788_78dd7d16ce.jpg create mode 100644 dataset/val/ants/768870506_8f115d3d37.jpg create mode 100644 dataset/val/ants/800px-Meat_eater_ant_qeen_excavating_hole.jpg create mode 100644 dataset/val/ants/8124241_36b290d372.jpg create mode 100644 dataset/val/ants/8398478_50ef10c47a.jpg create mode 100644 dataset/val/ants/854534770_31f6156383.jpg create mode 100644 dataset/val/ants/892676922_4ab37dce07.jpg create mode 100644 dataset/val/ants/94999827_36895faade.jpg create mode 100644 dataset/val/ants/Ant-1818.jpg create mode 100644 dataset/val/ants/F.pergan.28(f).jpg create mode 100644 dataset/val/ants/Hormiga.jpg create mode 100644 dataset/val/ants/ants-devouring-remains-of-large-dead-insect-on-red-tile-in-Stellenbosch-South-Africa-closeup-1-DHD.jpg create mode 100644 dataset/val/ants/desert_ant.jpg create mode 100644 dataset/val/bees/1032546534_06907fe3b3.jpg create mode 100644 dataset/val/bees/10870992_eebeeb3a12.jpg create mode 100644 dataset/val/bees/1181173278_23c36fac71.jpg create mode 100644 dataset/val/bees/1297972485_33266a18d9.jpg create mode 100644 dataset/val/bees/1328423762_f7a88a8451.jpg create mode 100644 dataset/val/bees/1355974687_1341c1face.jpg create mode 100644 dataset/val/bees/144098310_a4176fd54d.jpg create mode 100644 dataset/val/bees/1486120850_490388f84b.jpg create mode 100644 dataset/val/bees/149973093_da3c446268.jpg create mode 100644 dataset/val/bees/151594775_ee7dc17b60.jpg create mode 100644 dataset/val/bees/151603988_2c6f7d14c7.jpg create mode 100644 dataset/val/bees/1519368889_4270261ee3.jpg create mode 100644 dataset/val/bees/152789693_220b003452.jpg create mode 100644 dataset/val/bees/177677657_a38c97e572.jpg create mode 100644 dataset/val/bees/1799729694_0c40101071.jpg create mode 100644 dataset/val/bees/181171681_c5a1a82ded.jpg create mode 100644 dataset/val/bees/187130242_4593a4c610.jpg create mode 100644 dataset/val/bees/203868383_0fcbb48278.jpg create mode 100644 dataset/val/bees/2060668999_e11edb10d0.jpg create mode 100644 dataset/val/bees/2086294791_6f3789d8a6.jpg create mode 100644 dataset/val/bees/2103637821_8d26ee6b90.jpg create mode 100644 dataset/val/bees/2104135106_a65eede1de.jpg create mode 100644 dataset/val/bees/215512424_687e1e0821.jpg create mode 100644 dataset/val/bees/2173503984_9c6aaaa7e2.jpg create mode 100644 dataset/val/bees/220376539_20567395d8.jpg create mode 100644 dataset/val/bees/224841383_d050f5f510.jpg create mode 100644 dataset/val/bees/2321144482_f3785ba7b2.jpg create mode 100644 dataset/val/bees/238161922_55fa9a76ae.jpg create mode 100644 dataset/val/bees/2407809945_fb525ef54d.jpg create mode 100644 dataset/val/bees/2415414155_1916f03b42.jpg create mode 100644 dataset/val/bees/2438480600_40a1249879.jpg create mode 100644 dataset/val/bees/2444778727_4b781ac424.jpg create mode 100644 dataset/val/bees/2457841282_7867f16639.jpg create mode 100644 dataset/val/bees/2470492902_3572c90f75.jpg create mode 100644 dataset/val/bees/2478216347_535c8fe6d7.jpg create mode 100644 dataset/val/bees/2501530886_e20952b97d.jpg create mode 100644 dataset/val/bees/2506114833_90a41c5267.jpg create mode 100644 dataset/val/bees/2509402554_31821cb0b6.jpg create mode 100644 dataset/val/bees/2525379273_dcb26a516d.jpg create mode 100644 dataset/val/bees/26589803_5ba7000313.jpg create mode 100644 dataset/val/bees/2668391343_45e272cd07.jpg create mode 100644 dataset/val/bees/2670536155_c170f49cd0.jpg create mode 100644 dataset/val/bees/2685605303_9eed79d59d.jpg create mode 100644 dataset/val/bees/2702408468_d9ed795f4f.jpg create mode 100644 dataset/val/bees/2709775832_85b4b50a57.jpg create mode 100644 dataset/val/bees/2717418782_bd83307d9f.jpg create mode 100644 dataset/val/bees/272986700_d4d4bf8c4b.jpg create mode 100644 dataset/val/bees/2741763055_9a7bb00802.jpg create mode 100644 dataset/val/bees/2745389517_250a397f31.jpg create mode 100644 dataset/val/bees/2751836205_6f7b5eff30.jpg create mode 100644 dataset/val/bees/2782079948_8d4e94a826.jpg create mode 100644 dataset/val/bees/2809496124_5f25b5946a.jpg create mode 100644 dataset/val/bees/2815838190_0a9889d995.jpg create mode 100644 dataset/val/bees/2841437312_789699c740.jpg create mode 100644 dataset/val/bees/2883093452_7e3a1eb53f.jpg create mode 100644 dataset/val/bees/290082189_f66cb80bfc.jpg create mode 100644 dataset/val/bees/296565463_d07a7bed96.jpg create mode 100644 dataset/val/bees/3077452620_548c79fda0.jpg create mode 100644 dataset/val/bees/348291597_ee836fbb1a.jpg create mode 100644 dataset/val/bees/350436573_41f4ecb6c8.jpg create mode 100644 dataset/val/bees/353266603_d3eac7e9a0.jpg create mode 100644 dataset/val/bees/372228424_16da1f8884.jpg create mode 100644 dataset/val/bees/400262091_701c00031c.jpg create mode 100644 dataset/val/bees/416144384_961c326481.jpg create mode 100644 dataset/val/bees/44105569_16720a960c.jpg create mode 100644 dataset/val/bees/456097971_860949c4fc.jpg create mode 100644 dataset/val/bees/464594019_1b24a28bb1.jpg create mode 100644 dataset/val/bees/485743562_d8cc6b8f73.jpg create mode 100644 dataset/val/bees/540976476_844950623f.jpg create mode 100644 dataset/val/bees/54736755_c057723f64.jpg create mode 100644 dataset/val/bees/57459255_752774f1b2.jpg create mode 100644 dataset/val/bees/576452297_897023f002.jpg create mode 100644 dataset/val/bees/586474709_ae436da045.jpg create mode 100644 dataset/val/bees/590318879_68cf112861.jpg create mode 100644 dataset/val/bees/59798110_2b6a3c8031.jpg create mode 100644 dataset/val/bees/603709866_a97c7cfc72.jpg create mode 100644 dataset/val/bees/603711658_4c8cd2201e.jpg create mode 100644 dataset/val/bees/65038344_52a45d090d.jpg create mode 100644 dataset/val/bees/6a00d8341c630a53ef00e553d0beb18834-800wi.jpg create mode 100644 dataset/val/bees/72100438_73de9f17af.jpg create mode 100644 dataset/val/bees/759745145_e8bc776ec8.jpg create mode 100644 dataset/val/bees/936182217_c4caa5222d.jpg create mode 100644 dataset/val/bees/abeja.jpg create mode 100644 dataset_transform.py create mode 100644 images/7759525_1363d24e88.jpg create mode 100644 logs/events.out.tfevents.1690790854.DESKTOP-NPRDBA4.11540.0 create mode 100644 logs_maxpool/events.out.tfevents.1690793100.DESKTOP-NPRDBA4.20196.0 create mode 100644 logs_relu/events.out.tfevents.1690795272.DESKTOP-NPRDBA4.12024.0 create mode 100644 read_data.py create mode 100644 src/nn_conv.py create mode 100644 src/nn_conv2d.py create mode 100644 src/nn_liner.py create mode 100644 src/nn_maxpool.py create mode 100644 src/nn_module.py create mode 100644 src/nn_relu.py create mode 100644 test/call_test.py create mode 100644 test_tb.py create mode 100644 transforms_test.py create mode 100644 userful_transforms.py diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..e69de29 diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..03d9549 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..e69de29 diff --git a/.idea/learn_torch.iml b/.idea/learn_torch.iml new file mode 100644 index 0000000..9bd3226 --- /dev/null +++ b/.idea/learn_torch.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..6268301 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..e69de29 diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..9034421 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..d0d55ae --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + + + + + + + { + "customColor": "", + "associatedIndex": -1 +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1690473289898 + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dataloader.py b/dataloader.py new file mode 100644 index 0000000..c1b314e --- /dev/null +++ b/dataloader.py @@ -0,0 +1,26 @@ +import torchvision +from torch.utils.data import DataLoader +from torch.utils.tensorboard import SummaryWriter + +# 准备的测试数据集 +test_data = torchvision.datasets.CIFAR10("./dataset", train=False, transform=torchvision.transforms.ToTensor()) + +test_loader = DataLoader(dataset=test_data, batch_size=64, shuffle=True, num_workers=0, drop_last=True) + +# 测试数据集中第一张图片以及target +img, target = test_data[0] +print(test_data.classes) +print(img.shape) +print(target) + +writer = SummaryWriter("dataloader") +for epoch in range(2): + step = 0 + for data in test_loader: + imgs, targets = data + # print(imgs.shape) + # print(targets) + writer.add_images("Epoch: {}".format(epoch), imgs, step) + step = step + 1 + +writer.close() \ No newline at end of file diff --git a/dataloader/events.out.tfevents.1690783629.DESKTOP-NPRDBA4.18472.0 b/dataloader/events.out.tfevents.1690783629.DESKTOP-NPRDBA4.18472.0 new file mode 100644 index 0000000..e69de29 diff --git a/dataloader/events.out.tfevents.1690783658.DESKTOP-NPRDBA4.20520.0 b/dataloader/events.out.tfevents.1690783658.DESKTOP-NPRDBA4.20520.0 new file mode 100644 index 0000000..e69de29 diff --git a/dataloader/events.out.tfevents.1690783697.DESKTOP-NPRDBA4.1120.0 b/dataloader/events.out.tfevents.1690783697.DESKTOP-NPRDBA4.1120.0 new file mode 100644 index 0000000..e69de29 diff --git a/dataloader/events.out.tfevents.1690784147.DESKTOP-NPRDBA4.3076.0 b/dataloader/events.out.tfevents.1690784147.DESKTOP-NPRDBA4.3076.0 new file mode 100644 index 0000000..e69de29 diff --git a/dataset/cifar-10-batches-py/batches.meta b/dataset/cifar-10-batches-py/batches.meta new file mode 100644 index 0000000..e69de29 diff --git a/dataset/cifar-10-batches-py/data_batch_1 b/dataset/cifar-10-batches-py/data_batch_1 new file mode 100644 index 0000000..e69de29 diff --git a/dataset/cifar-10-batches-py/data_batch_2 b/dataset/cifar-10-batches-py/data_batch_2 new file mode 100644 index 0000000..e69de29 diff --git a/dataset/cifar-10-batches-py/data_batch_3 b/dataset/cifar-10-batches-py/data_batch_3 new file mode 100644 index 0000000..e69de29 diff --git a/dataset/cifar-10-batches-py/data_batch_4 b/dataset/cifar-10-batches-py/data_batch_4 new file mode 100644 index 0000000..e69de29 diff --git a/dataset/cifar-10-batches-py/data_batch_5 b/dataset/cifar-10-batches-py/data_batch_5 new file mode 100644 index 0000000..e69de29 diff --git a/dataset/cifar-10-batches-py/readme.html b/dataset/cifar-10-batches-py/readme.html new file mode 100644 index 0000000..e69de29 diff --git a/dataset/cifar-10-batches-py/test_batch b/dataset/cifar-10-batches-py/test_batch new file mode 100644 index 0000000..e69de29 diff --git a/dataset/cifar-10-python.tar.gz b/dataset/cifar-10-python.tar.gz new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/0013035.jpg b/dataset/train/ants/0013035.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1030023514_aad5c608f9.jpg b/dataset/train/ants/1030023514_aad5c608f9.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1095476100_3906d8afde.jpg b/dataset/train/ants/1095476100_3906d8afde.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1099452230_d1949d3250.jpg b/dataset/train/ants/1099452230_d1949d3250.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/116570827_e9c126745d.jpg b/dataset/train/ants/116570827_e9c126745d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1225872729_6f0856588f.jpg b/dataset/train/ants/1225872729_6f0856588f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1262877379_64fcada201.jpg b/dataset/train/ants/1262877379_64fcada201.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1269756697_0bce92cdab.jpg b/dataset/train/ants/1269756697_0bce92cdab.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1286984635_5119e80de1.jpg b/dataset/train/ants/1286984635_5119e80de1.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/132478121_2a430adea2.jpg b/dataset/train/ants/132478121_2a430adea2.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1360291657_dc248c5eea.jpg b/dataset/train/ants/1360291657_dc248c5eea.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1368913450_e146e2fb6d.jpg b/dataset/train/ants/1368913450_e146e2fb6d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1473187633_63ccaacea6.jpg b/dataset/train/ants/1473187633_63ccaacea6.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/148715752_302c84f5a4.jpg b/dataset/train/ants/148715752_302c84f5a4.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1489674356_09d48dde0a.jpg b/dataset/train/ants/1489674356_09d48dde0a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/149244013_c529578289.jpg b/dataset/train/ants/149244013_c529578289.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/150801003_3390b73135.jpg b/dataset/train/ants/150801003_3390b73135.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/150801171_cd86f17ed8.jpg b/dataset/train/ants/150801171_cd86f17ed8.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/154124431_65460430f2.jpg b/dataset/train/ants/154124431_65460430f2.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/162603798_40b51f1654.jpg b/dataset/train/ants/162603798_40b51f1654.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1660097129_384bf54490.jpg b/dataset/train/ants/1660097129_384bf54490.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/167890289_dd5ba923f3.jpg b/dataset/train/ants/167890289_dd5ba923f3.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1693954099_46d4c20605.jpg b/dataset/train/ants/1693954099_46d4c20605.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/175998972.jpg b/dataset/train/ants/175998972.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/178538489_bec7649292.jpg b/dataset/train/ants/178538489_bec7649292.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1804095607_0341701e1c.jpg b/dataset/train/ants/1804095607_0341701e1c.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1808777855_2a895621d7.jpg b/dataset/train/ants/1808777855_2a895621d7.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/188552436_605cc9b36b.jpg b/dataset/train/ants/188552436_605cc9b36b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1917341202_d00a7f9af5.jpg b/dataset/train/ants/1917341202_d00a7f9af5.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/1924473702_daa9aacdbe.jpg b/dataset/train/ants/1924473702_daa9aacdbe.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/196057951_63bf063b92.jpg b/dataset/train/ants/196057951_63bf063b92.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/196757565_326437f5fe.jpg b/dataset/train/ants/196757565_326437f5fe.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/201558278_fe4caecc76.jpg b/dataset/train/ants/201558278_fe4caecc76.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/201790779_527f4c0168.jpg b/dataset/train/ants/201790779_527f4c0168.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/2019439677_2db655d361.jpg b/dataset/train/ants/2019439677_2db655d361.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/207947948_3ab29d7207.jpg b/dataset/train/ants/207947948_3ab29d7207.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/20935278_9190345f6b.jpg b/dataset/train/ants/20935278_9190345f6b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/224655713_3956f7d39a.jpg b/dataset/train/ants/224655713_3956f7d39a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/2265824718_2c96f485da.jpg b/dataset/train/ants/2265824718_2c96f485da.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/2265825502_fff99cfd2d.jpg b/dataset/train/ants/2265825502_fff99cfd2d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/226951206_d6bf946504.jpg b/dataset/train/ants/226951206_d6bf946504.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/2278278459_6b99605e50.jpg b/dataset/train/ants/2278278459_6b99605e50.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/2288450226_a6e96e8fdf.jpg b/dataset/train/ants/2288450226_a6e96e8fdf.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/2288481644_83ff7e4572.jpg b/dataset/train/ants/2288481644_83ff7e4572.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/2292213964_ca51ce4bef.jpg b/dataset/train/ants/2292213964_ca51ce4bef.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/24335309_c5ea483bb8.jpg b/dataset/train/ants/24335309_c5ea483bb8.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/245647475_9523dfd13e.jpg b/dataset/train/ants/245647475_9523dfd13e.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/255434217_1b2b3fe0a4.jpg b/dataset/train/ants/255434217_1b2b3fe0a4.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/258217966_d9d90d18d3.jpg b/dataset/train/ants/258217966_d9d90d18d3.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/275429470_b2d7d9290b.jpg b/dataset/train/ants/275429470_b2d7d9290b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/28847243_e79fe052cd.jpg b/dataset/train/ants/28847243_e79fe052cd.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/318052216_84dff3f98a.jpg b/dataset/train/ants/318052216_84dff3f98a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/334167043_cbd1adaeb9.jpg b/dataset/train/ants/334167043_cbd1adaeb9.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/339670531_94b75ae47a.jpg b/dataset/train/ants/339670531_94b75ae47a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/342438950_a3da61deab.jpg b/dataset/train/ants/342438950_a3da61deab.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/36439863_0bec9f554f.jpg b/dataset/train/ants/36439863_0bec9f554f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/374435068_7eee412ec4.jpg b/dataset/train/ants/374435068_7eee412ec4.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/382971067_0bfd33afe0.jpg b/dataset/train/ants/382971067_0bfd33afe0.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/384191229_5779cf591b.jpg b/dataset/train/ants/384191229_5779cf591b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/386190770_672743c9a7.jpg b/dataset/train/ants/386190770_672743c9a7.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/392382602_1b7bed32fa.jpg b/dataset/train/ants/392382602_1b7bed32fa.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/403746349_71384f5b58.jpg b/dataset/train/ants/403746349_71384f5b58.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/408393566_b5b694119b.jpg b/dataset/train/ants/408393566_b5b694119b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/424119020_6d57481dab.jpg b/dataset/train/ants/424119020_6d57481dab.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/424873399_47658a91fb.jpg b/dataset/train/ants/424873399_47658a91fb.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/450057712_771b3bfc91.jpg b/dataset/train/ants/450057712_771b3bfc91.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/45472593_bfd624f8dc.jpg b/dataset/train/ants/45472593_bfd624f8dc.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/459694881_ac657d3187.jpg b/dataset/train/ants/459694881_ac657d3187.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/460372577_f2f6a8c9fc.jpg b/dataset/train/ants/460372577_f2f6a8c9fc.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/460874319_0a45ab4d05.jpg b/dataset/train/ants/460874319_0a45ab4d05.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/466430434_4000737de9.jpg b/dataset/train/ants/466430434_4000737de9.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/470127037_513711fd21.jpg b/dataset/train/ants/470127037_513711fd21.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/474806473_ca6caab245.jpg b/dataset/train/ants/474806473_ca6caab245.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/475961153_b8c13fd405.jpg b/dataset/train/ants/475961153_b8c13fd405.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/484293231_e53cfc0c89.jpg b/dataset/train/ants/484293231_e53cfc0c89.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/49375974_e28ba6f17e.jpg b/dataset/train/ants/49375974_e28ba6f17e.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/506249802_207cd979b4.jpg b/dataset/train/ants/506249802_207cd979b4.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/506249836_717b73f540.jpg b/dataset/train/ants/506249836_717b73f540.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/512164029_c0a66b8498.jpg b/dataset/train/ants/512164029_c0a66b8498.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/512863248_43c8ce579b.jpg b/dataset/train/ants/512863248_43c8ce579b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/518773929_734dbc5ff4.jpg b/dataset/train/ants/518773929_734dbc5ff4.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/522163566_fec115ca66.jpg b/dataset/train/ants/522163566_fec115ca66.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/522415432_2218f34bf8.jpg b/dataset/train/ants/522415432_2218f34bf8.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/531979952_bde12b3bc0.jpg b/dataset/train/ants/531979952_bde12b3bc0.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/533848102_70a85ad6dd.jpg b/dataset/train/ants/533848102_70a85ad6dd.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/535522953_308353a07c.jpg b/dataset/train/ants/535522953_308353a07c.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/540889389_48bb588b21.jpg b/dataset/train/ants/540889389_48bb588b21.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/541630764_dbd285d63c.jpg b/dataset/train/ants/541630764_dbd285d63c.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/543417860_b14237f569.jpg b/dataset/train/ants/543417860_b14237f569.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/560966032_988f4d7bc4.jpg b/dataset/train/ants/560966032_988f4d7bc4.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/5650366_e22b7e1065.jpg b/dataset/train/ants/5650366_e22b7e1065.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/6240329_72c01e663e.jpg b/dataset/train/ants/6240329_72c01e663e.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/6240338_93729615ec.jpg b/dataset/train/ants/6240338_93729615ec.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/649026570_e58656104b.jpg b/dataset/train/ants/649026570_e58656104b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/662541407_ff8db781e7.jpg b/dataset/train/ants/662541407_ff8db781e7.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/67270775_e9fdf77e9d.jpg b/dataset/train/ants/67270775_e9fdf77e9d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/6743948_2b8c096dda.jpg b/dataset/train/ants/6743948_2b8c096dda.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/684133190_35b62c0c1d.jpg b/dataset/train/ants/684133190_35b62c0c1d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/69639610_95e0de17aa.jpg b/dataset/train/ants/69639610_95e0de17aa.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/707895295_009cf23188.jpg b/dataset/train/ants/707895295_009cf23188.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/7759525_1363d24e88.jpg b/dataset/train/ants/7759525_1363d24e88.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/795000156_a9900a4a71.jpg b/dataset/train/ants/795000156_a9900a4a71.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/822537660_caf4ba5514.jpg b/dataset/train/ants/822537660_caf4ba5514.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/82852639_52b7f7f5e3.jpg b/dataset/train/ants/82852639_52b7f7f5e3.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/841049277_b28e58ad05.jpg b/dataset/train/ants/841049277_b28e58ad05.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/886401651_f878e888cd.jpg b/dataset/train/ants/886401651_f878e888cd.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/892108839_f1aad4ca46.jpg b/dataset/train/ants/892108839_f1aad4ca46.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/938946700_ca1c669085.jpg b/dataset/train/ants/938946700_ca1c669085.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/957233405_25c1d1187b.jpg b/dataset/train/ants/957233405_25c1d1187b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/9715481_b3cb4114ff.jpg b/dataset/train/ants/9715481_b3cb4114ff.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/998118368_6ac1d91f81.jpg b/dataset/train/ants/998118368_6ac1d91f81.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/Ant_1.jpg b/dataset/train/ants/Ant_1.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/MehdiabadiAnt2_600.jpg b/dataset/train/ants/MehdiabadiAnt2_600.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/Nepenthes_rafflesiana_ant.jpg b/dataset/train/ants/Nepenthes_rafflesiana_ant.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/VietnameseAntMimicSpider.jpg b/dataset/train/ants/VietnameseAntMimicSpider.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/ant photos.jpg b/dataset/train/ants/ant photos.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/army-ants-red-picture.jpg b/dataset/train/ants/army-ants-red-picture.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/formica.jpeg b/dataset/train/ants/formica.jpeg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/hormiga_co_por.jpg b/dataset/train/ants/hormiga_co_por.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/imageNotFound.gif b/dataset/train/ants/imageNotFound.gif new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/kurokusa.jpg b/dataset/train/ants/kurokusa.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/swiss-army-ant.jpg b/dataset/train/ants/swiss-army-ant.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/termite-vs-ant.jpg b/dataset/train/ants/termite-vs-ant.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/ants/trap-jaw-ant-insect-bg.jpg b/dataset/train/ants/trap-jaw-ant-insect-bg.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/1092977343_cb42b38d62.jpg b/dataset/train/bees/1092977343_cb42b38d62.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/1093831624_fb5fbe2308.jpg b/dataset/train/bees/1093831624_fb5fbe2308.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/1097045929_1753d1c765.jpg b/dataset/train/bees/1097045929_1753d1c765.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/1232245714_f862fbe385.jpg b/dataset/train/bees/1232245714_f862fbe385.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/129236073_0985e91c7d.jpg b/dataset/train/bees/129236073_0985e91c7d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/1295655112_7813f37d21.jpg b/dataset/train/bees/1295655112_7813f37d21.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/132511197_0b86ad0fff.jpg b/dataset/train/bees/132511197_0b86ad0fff.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/132826773_dbbcb117b9.jpg b/dataset/train/bees/132826773_dbbcb117b9.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/150013791_969d9a968b.jpg b/dataset/train/bees/150013791_969d9a968b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/1508176360_2972117c9d.jpg b/dataset/train/bees/1508176360_2972117c9d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/154600396_53e1252e52.jpg b/dataset/train/bees/154600396_53e1252e52.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/16838648_415acd9e3f.jpg b/dataset/train/bees/16838648_415acd9e3f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/1691282715_0addfdf5e8.jpg b/dataset/train/bees/1691282715_0addfdf5e8.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/17209602_fe5a5a746f.jpg b/dataset/train/bees/17209602_fe5a5a746f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/174142798_e5ad6d76e0.jpg b/dataset/train/bees/174142798_e5ad6d76e0.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/1799726602_8580867f71.jpg b/dataset/train/bees/1799726602_8580867f71.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/1807583459_4fe92b3133.jpg b/dataset/train/bees/1807583459_4fe92b3133.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/196430254_46bd129ae7.jpg b/dataset/train/bees/196430254_46bd129ae7.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/196658222_3fffd79c67.jpg b/dataset/train/bees/196658222_3fffd79c67.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/198508668_97d818b6c4.jpg b/dataset/train/bees/198508668_97d818b6c4.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2031225713_50ed499635.jpg b/dataset/train/bees/2031225713_50ed499635.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2037437624_2d7bce461f.jpg b/dataset/train/bees/2037437624_2d7bce461f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2053200300_8911ef438a.jpg b/dataset/train/bees/2053200300_8911ef438a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/205835650_e6f2614bee.jpg b/dataset/train/bees/205835650_e6f2614bee.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/208702903_42fb4d9748.jpg b/dataset/train/bees/208702903_42fb4d9748.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/21399619_3e61e5bb6f.jpg b/dataset/train/bees/21399619_3e61e5bb6f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2227611847_ec72d40403.jpg b/dataset/train/bees/2227611847_ec72d40403.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2321139806_d73d899e66.jpg b/dataset/train/bees/2321139806_d73d899e66.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2330918208_8074770c20.jpg b/dataset/train/bees/2330918208_8074770c20.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2345177635_caf07159b3.jpg b/dataset/train/bees/2345177635_caf07159b3.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2358061370_9daabbd9ac.jpg b/dataset/train/bees/2358061370_9daabbd9ac.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2364597044_3c3e3fc391.jpg b/dataset/train/bees/2364597044_3c3e3fc391.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2384149906_2cd8b0b699.jpg b/dataset/train/bees/2384149906_2cd8b0b699.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2397446847_04ef3cd3e1.jpg b/dataset/train/bees/2397446847_04ef3cd3e1.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2405441001_b06c36fa72.jpg b/dataset/train/bees/2405441001_b06c36fa72.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2445215254_51698ff797.jpg b/dataset/train/bees/2445215254_51698ff797.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2452236943_255bfd9e58.jpg b/dataset/train/bees/2452236943_255bfd9e58.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2467959963_a7831e9ff0.jpg b/dataset/train/bees/2467959963_a7831e9ff0.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2470492904_837e97800d.jpg b/dataset/train/bees/2470492904_837e97800d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2477324698_3d4b1b1cab.jpg b/dataset/train/bees/2477324698_3d4b1b1cab.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2477349551_e75c97cf4d.jpg b/dataset/train/bees/2477349551_e75c97cf4d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2486729079_62df0920be.jpg b/dataset/train/bees/2486729079_62df0920be.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2486746709_c43cec0e42.jpg b/dataset/train/bees/2486746709_c43cec0e42.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2493379287_4100e1dacc.jpg b/dataset/train/bees/2493379287_4100e1dacc.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2495722465_879acf9d85.jpg b/dataset/train/bees/2495722465_879acf9d85.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2528444139_fa728b0f5b.jpg b/dataset/train/bees/2528444139_fa728b0f5b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2538361678_9da84b77e3.jpg b/dataset/train/bees/2538361678_9da84b77e3.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2551813042_8a070aeb2b.jpg b/dataset/train/bees/2551813042_8a070aeb2b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2580598377_a4caecdb54.jpg b/dataset/train/bees/2580598377_a4caecdb54.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2601176055_8464e6aa71.jpg b/dataset/train/bees/2601176055_8464e6aa71.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2610833167_79bf0bcae5.jpg b/dataset/train/bees/2610833167_79bf0bcae5.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2610838525_fe8e3cae47.jpg b/dataset/train/bees/2610838525_fe8e3cae47.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2617161745_fa3ebe85b4.jpg b/dataset/train/bees/2617161745_fa3ebe85b4.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2625499656_e3415e374d.jpg b/dataset/train/bees/2625499656_e3415e374d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2634617358_f32fd16bea.jpg b/dataset/train/bees/2634617358_f32fd16bea.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2638074627_6b3ae746a0.jpg b/dataset/train/bees/2638074627_6b3ae746a0.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2645107662_b73a8595cc.jpg b/dataset/train/bees/2645107662_b73a8595cc.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2651621464_a2fa8722eb.jpg b/dataset/train/bees/2651621464_a2fa8722eb.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2652877533_a564830cbf.jpg b/dataset/train/bees/2652877533_a564830cbf.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/266644509_d30bb16a1b.jpg b/dataset/train/bees/266644509_d30bb16a1b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2683605182_9d2a0c66cf.jpg b/dataset/train/bees/2683605182_9d2a0c66cf.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2704348794_eb5d5178c2.jpg b/dataset/train/bees/2704348794_eb5d5178c2.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2707440199_cd170bd512.jpg b/dataset/train/bees/2707440199_cd170bd512.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2710368626_cb42882dc8.jpg b/dataset/train/bees/2710368626_cb42882dc8.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2722592222_258d473e17.jpg b/dataset/train/bees/2722592222_258d473e17.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2728759455_ce9bb8cd7a.jpg b/dataset/train/bees/2728759455_ce9bb8cd7a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2756397428_1d82a08807.jpg b/dataset/train/bees/2756397428_1d82a08807.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2765347790_da6cf6cb40.jpg b/dataset/train/bees/2765347790_da6cf6cb40.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2781170484_5d61835d63.jpg b/dataset/train/bees/2781170484_5d61835d63.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/279113587_b4843db199.jpg b/dataset/train/bees/279113587_b4843db199.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2792000093_e8ae0718cf.jpg b/dataset/train/bees/2792000093_e8ae0718cf.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2801728106_833798c909.jpg b/dataset/train/bees/2801728106_833798c909.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2822388965_f6dca2a275.jpg b/dataset/train/bees/2822388965_f6dca2a275.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2861002136_52c7c6f708.jpg b/dataset/train/bees/2861002136_52c7c6f708.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2908916142_a7ac8b57a8.jpg b/dataset/train/bees/2908916142_a7ac8b57a8.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/29494643_e3410f0d37.jpg b/dataset/train/bees/29494643_e3410f0d37.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2959730355_416a18c63c.jpg b/dataset/train/bees/2959730355_416a18c63c.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/2962405283_22718d9617.jpg b/dataset/train/bees/2962405283_22718d9617.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/3006264892_30e9cced70.jpg b/dataset/train/bees/3006264892_30e9cced70.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/3030189811_01d095b793.jpg b/dataset/train/bees/3030189811_01d095b793.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/3030772428_8578335616.jpg b/dataset/train/bees/3030772428_8578335616.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/3044402684_3853071a87.jpg b/dataset/train/bees/3044402684_3853071a87.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/3074585407_9854eb3153.jpg b/dataset/train/bees/3074585407_9854eb3153.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/3079610310_ac2d0ae7bc.jpg b/dataset/train/bees/3079610310_ac2d0ae7bc.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/3090975720_71f12e6de4.jpg b/dataset/train/bees/3090975720_71f12e6de4.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/3100226504_c0d4f1e3f1.jpg b/dataset/train/bees/3100226504_c0d4f1e3f1.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/342758693_c56b89b6b6.jpg b/dataset/train/bees/342758693_c56b89b6b6.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/354167719_22dca13752.jpg b/dataset/train/bees/354167719_22dca13752.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/359928878_b3b418c728.jpg b/dataset/train/bees/359928878_b3b418c728.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/365759866_b15700c59b.jpg b/dataset/train/bees/365759866_b15700c59b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/36900412_92b81831ad.jpg b/dataset/train/bees/36900412_92b81831ad.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/39672681_1302d204d1.jpg b/dataset/train/bees/39672681_1302d204d1.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/39747887_42df2855ee.jpg b/dataset/train/bees/39747887_42df2855ee.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/421515404_e87569fd8b.jpg b/dataset/train/bees/421515404_e87569fd8b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/444532809_9e931e2279.jpg b/dataset/train/bees/444532809_9e931e2279.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/446296270_d9e8b93ecf.jpg b/dataset/train/bees/446296270_d9e8b93ecf.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/452462677_7be43af8ff.jpg b/dataset/train/bees/452462677_7be43af8ff.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/452462695_40a4e5b559.jpg b/dataset/train/bees/452462695_40a4e5b559.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/457457145_5f86eb7e9c.jpg b/dataset/train/bees/457457145_5f86eb7e9c.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/465133211_80e0c27f60.jpg b/dataset/train/bees/465133211_80e0c27f60.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/469333327_358ba8fe8a.jpg b/dataset/train/bees/469333327_358ba8fe8a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/472288710_2abee16fa0.jpg b/dataset/train/bees/472288710_2abee16fa0.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/473618094_8ffdcab215.jpg b/dataset/train/bees/473618094_8ffdcab215.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/476347960_52edd72b06.jpg b/dataset/train/bees/476347960_52edd72b06.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/478701318_bbd5e557b8.jpg b/dataset/train/bees/478701318_bbd5e557b8.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/507288830_f46e8d4cb2.jpg b/dataset/train/bees/507288830_f46e8d4cb2.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/509247772_2db2d01374.jpg b/dataset/train/bees/509247772_2db2d01374.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/513545352_fd3e7c7c5d.jpg b/dataset/train/bees/513545352_fd3e7c7c5d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/522104315_5d3cb2758e.jpg b/dataset/train/bees/522104315_5d3cb2758e.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/537309131_532bfa59ea.jpg b/dataset/train/bees/537309131_532bfa59ea.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/586041248_3032e277a9.jpg b/dataset/train/bees/586041248_3032e277a9.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/760526046_547e8b381f.jpg b/dataset/train/bees/760526046_547e8b381f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/760568592_45a52c847f.jpg b/dataset/train/bees/760568592_45a52c847f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/774440991_63a4aa0cbe.jpg b/dataset/train/bees/774440991_63a4aa0cbe.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/85112639_6e860b0469.jpg b/dataset/train/bees/85112639_6e860b0469.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/873076652_eb098dab2d.jpg b/dataset/train/bees/873076652_eb098dab2d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/90179376_abc234e5f4.jpg b/dataset/train/bees/90179376_abc234e5f4.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/92663402_37f379e57a.jpg b/dataset/train/bees/92663402_37f379e57a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/95238259_98470c5b10.jpg b/dataset/train/bees/95238259_98470c5b10.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/969455125_58c797ef17.jpg b/dataset/train/bees/969455125_58c797ef17.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/train/bees/98391118_bdb1e80cce.jpg b/dataset/train/bees/98391118_bdb1e80cce.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/10308379_1b6c72e180.jpg b/dataset/val/ants/10308379_1b6c72e180.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/1053149811_f62a3410d3.jpg b/dataset/val/ants/1053149811_f62a3410d3.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/1073564163_225a64f170.jpg b/dataset/val/ants/1073564163_225a64f170.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/1119630822_cd325ea21a.jpg b/dataset/val/ants/1119630822_cd325ea21a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/1124525276_816a07c17f.jpg b/dataset/val/ants/1124525276_816a07c17f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/11381045_b352a47d8c.jpg b/dataset/val/ants/11381045_b352a47d8c.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/119785936_dd428e40c3.jpg b/dataset/val/ants/119785936_dd428e40c3.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/1247887232_edcb61246c.jpg b/dataset/val/ants/1247887232_edcb61246c.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/1262751255_c56c042b7b.jpg b/dataset/val/ants/1262751255_c56c042b7b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/1337725712_2eb53cd742.jpg b/dataset/val/ants/1337725712_2eb53cd742.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/1358854066_5ad8015f7f.jpg b/dataset/val/ants/1358854066_5ad8015f7f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/1440002809_b268d9a66a.jpg b/dataset/val/ants/1440002809_b268d9a66a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/147542264_79506478c2.jpg b/dataset/val/ants/147542264_79506478c2.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/152286280_411648ec27.jpg b/dataset/val/ants/152286280_411648ec27.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/153320619_2aeb5fa0ee.jpg b/dataset/val/ants/153320619_2aeb5fa0ee.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/153783656_85f9c3ac70.jpg b/dataset/val/ants/153783656_85f9c3ac70.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/157401988_d0564a9d02.jpg b/dataset/val/ants/157401988_d0564a9d02.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/159515240_d5981e20d1.jpg b/dataset/val/ants/159515240_d5981e20d1.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/161076144_124db762d6.jpg b/dataset/val/ants/161076144_124db762d6.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/161292361_c16e0bf57a.jpg b/dataset/val/ants/161292361_c16e0bf57a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/170652283_ecdaff5d1a.jpg b/dataset/val/ants/170652283_ecdaff5d1a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/17081114_79b9a27724.jpg b/dataset/val/ants/17081114_79b9a27724.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/172772109_d0a8e15fb0.jpg b/dataset/val/ants/172772109_d0a8e15fb0.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/1743840368_b5ccda82b7.jpg b/dataset/val/ants/1743840368_b5ccda82b7.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/181942028_961261ef48.jpg b/dataset/val/ants/181942028_961261ef48.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/183260961_64ab754c97.jpg b/dataset/val/ants/183260961_64ab754c97.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/2039585088_c6f47c592e.jpg b/dataset/val/ants/2039585088_c6f47c592e.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/205398178_c395c5e460.jpg b/dataset/val/ants/205398178_c395c5e460.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/208072188_f293096296.jpg b/dataset/val/ants/208072188_f293096296.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/209615353_eeb38ba204.jpg b/dataset/val/ants/209615353_eeb38ba204.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/2104709400_8831b4fc6f.jpg b/dataset/val/ants/2104709400_8831b4fc6f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/212100470_b485e7b7b9.jpg b/dataset/val/ants/212100470_b485e7b7b9.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/2127908701_d49dc83c97.jpg b/dataset/val/ants/2127908701_d49dc83c97.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/2191997003_379df31291.jpg b/dataset/val/ants/2191997003_379df31291.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/2211974567_ee4606b493.jpg b/dataset/val/ants/2211974567_ee4606b493.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/2219621907_47bc7cc6b0.jpg b/dataset/val/ants/2219621907_47bc7cc6b0.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/2238242353_52c82441df.jpg b/dataset/val/ants/2238242353_52c82441df.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/2255445811_dabcdf7258.jpg b/dataset/val/ants/2255445811_dabcdf7258.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/239161491_86ac23b0a3.jpg b/dataset/val/ants/239161491_86ac23b0a3.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/263615709_cfb28f6b8e.jpg b/dataset/val/ants/263615709_cfb28f6b8e.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/308196310_1db5ffa01b.jpg b/dataset/val/ants/308196310_1db5ffa01b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/319494379_648fb5a1c6.jpg b/dataset/val/ants/319494379_648fb5a1c6.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/35558229_1fa4608a7a.jpg b/dataset/val/ants/35558229_1fa4608a7a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/412436937_4c2378efc2.jpg b/dataset/val/ants/412436937_4c2378efc2.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/436944325_d4925a38c7.jpg b/dataset/val/ants/436944325_d4925a38c7.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/445356866_6cb3289067.jpg b/dataset/val/ants/445356866_6cb3289067.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/459442412_412fecf3fe.jpg b/dataset/val/ants/459442412_412fecf3fe.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/470127071_8b8ee2bd74.jpg b/dataset/val/ants/470127071_8b8ee2bd74.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/477437164_bc3e6e594a.jpg b/dataset/val/ants/477437164_bc3e6e594a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/488272201_c5aa281348.jpg b/dataset/val/ants/488272201_c5aa281348.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/502717153_3e4865621a.jpg b/dataset/val/ants/502717153_3e4865621a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/518746016_bcc28f8b5b.jpg b/dataset/val/ants/518746016_bcc28f8b5b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/540543309_ddbb193ee5.jpg b/dataset/val/ants/540543309_ddbb193ee5.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/562589509_7e55469b97.jpg b/dataset/val/ants/562589509_7e55469b97.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/57264437_a19006872f.jpg b/dataset/val/ants/57264437_a19006872f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/573151833_ebbc274b77.jpg b/dataset/val/ants/573151833_ebbc274b77.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/649407494_9b6bc4949f.jpg b/dataset/val/ants/649407494_9b6bc4949f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/751649788_78dd7d16ce.jpg b/dataset/val/ants/751649788_78dd7d16ce.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/768870506_8f115d3d37.jpg b/dataset/val/ants/768870506_8f115d3d37.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/800px-Meat_eater_ant_qeen_excavating_hole.jpg b/dataset/val/ants/800px-Meat_eater_ant_qeen_excavating_hole.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/8124241_36b290d372.jpg b/dataset/val/ants/8124241_36b290d372.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/8398478_50ef10c47a.jpg b/dataset/val/ants/8398478_50ef10c47a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/854534770_31f6156383.jpg b/dataset/val/ants/854534770_31f6156383.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/892676922_4ab37dce07.jpg b/dataset/val/ants/892676922_4ab37dce07.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/94999827_36895faade.jpg b/dataset/val/ants/94999827_36895faade.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/Ant-1818.jpg b/dataset/val/ants/Ant-1818.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/F.pergan.28(f).jpg b/dataset/val/ants/F.pergan.28(f).jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/Hormiga.jpg b/dataset/val/ants/Hormiga.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/ants-devouring-remains-of-large-dead-insect-on-red-tile-in-Stellenbosch-South-Africa-closeup-1-DHD.jpg b/dataset/val/ants/ants-devouring-remains-of-large-dead-insect-on-red-tile-in-Stellenbosch-South-Africa-closeup-1-DHD.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/ants/desert_ant.jpg b/dataset/val/ants/desert_ant.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/1032546534_06907fe3b3.jpg b/dataset/val/bees/1032546534_06907fe3b3.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/10870992_eebeeb3a12.jpg b/dataset/val/bees/10870992_eebeeb3a12.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/1181173278_23c36fac71.jpg b/dataset/val/bees/1181173278_23c36fac71.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/1297972485_33266a18d9.jpg b/dataset/val/bees/1297972485_33266a18d9.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/1328423762_f7a88a8451.jpg b/dataset/val/bees/1328423762_f7a88a8451.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/1355974687_1341c1face.jpg b/dataset/val/bees/1355974687_1341c1face.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/144098310_a4176fd54d.jpg b/dataset/val/bees/144098310_a4176fd54d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/1486120850_490388f84b.jpg b/dataset/val/bees/1486120850_490388f84b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/149973093_da3c446268.jpg b/dataset/val/bees/149973093_da3c446268.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/151594775_ee7dc17b60.jpg b/dataset/val/bees/151594775_ee7dc17b60.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/151603988_2c6f7d14c7.jpg b/dataset/val/bees/151603988_2c6f7d14c7.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/1519368889_4270261ee3.jpg b/dataset/val/bees/1519368889_4270261ee3.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/152789693_220b003452.jpg b/dataset/val/bees/152789693_220b003452.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/177677657_a38c97e572.jpg b/dataset/val/bees/177677657_a38c97e572.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/1799729694_0c40101071.jpg b/dataset/val/bees/1799729694_0c40101071.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/181171681_c5a1a82ded.jpg b/dataset/val/bees/181171681_c5a1a82ded.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/187130242_4593a4c610.jpg b/dataset/val/bees/187130242_4593a4c610.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/203868383_0fcbb48278.jpg b/dataset/val/bees/203868383_0fcbb48278.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2060668999_e11edb10d0.jpg b/dataset/val/bees/2060668999_e11edb10d0.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2086294791_6f3789d8a6.jpg b/dataset/val/bees/2086294791_6f3789d8a6.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2103637821_8d26ee6b90.jpg b/dataset/val/bees/2103637821_8d26ee6b90.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2104135106_a65eede1de.jpg b/dataset/val/bees/2104135106_a65eede1de.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/215512424_687e1e0821.jpg b/dataset/val/bees/215512424_687e1e0821.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2173503984_9c6aaaa7e2.jpg b/dataset/val/bees/2173503984_9c6aaaa7e2.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/220376539_20567395d8.jpg b/dataset/val/bees/220376539_20567395d8.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/224841383_d050f5f510.jpg b/dataset/val/bees/224841383_d050f5f510.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2321144482_f3785ba7b2.jpg b/dataset/val/bees/2321144482_f3785ba7b2.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/238161922_55fa9a76ae.jpg b/dataset/val/bees/238161922_55fa9a76ae.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2407809945_fb525ef54d.jpg b/dataset/val/bees/2407809945_fb525ef54d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2415414155_1916f03b42.jpg b/dataset/val/bees/2415414155_1916f03b42.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2438480600_40a1249879.jpg b/dataset/val/bees/2438480600_40a1249879.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2444778727_4b781ac424.jpg b/dataset/val/bees/2444778727_4b781ac424.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2457841282_7867f16639.jpg b/dataset/val/bees/2457841282_7867f16639.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2470492902_3572c90f75.jpg b/dataset/val/bees/2470492902_3572c90f75.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2478216347_535c8fe6d7.jpg b/dataset/val/bees/2478216347_535c8fe6d7.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2501530886_e20952b97d.jpg b/dataset/val/bees/2501530886_e20952b97d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2506114833_90a41c5267.jpg b/dataset/val/bees/2506114833_90a41c5267.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2509402554_31821cb0b6.jpg b/dataset/val/bees/2509402554_31821cb0b6.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2525379273_dcb26a516d.jpg b/dataset/val/bees/2525379273_dcb26a516d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/26589803_5ba7000313.jpg b/dataset/val/bees/26589803_5ba7000313.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2668391343_45e272cd07.jpg b/dataset/val/bees/2668391343_45e272cd07.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2670536155_c170f49cd0.jpg b/dataset/val/bees/2670536155_c170f49cd0.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2685605303_9eed79d59d.jpg b/dataset/val/bees/2685605303_9eed79d59d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2702408468_d9ed795f4f.jpg b/dataset/val/bees/2702408468_d9ed795f4f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2709775832_85b4b50a57.jpg b/dataset/val/bees/2709775832_85b4b50a57.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2717418782_bd83307d9f.jpg b/dataset/val/bees/2717418782_bd83307d9f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/272986700_d4d4bf8c4b.jpg b/dataset/val/bees/272986700_d4d4bf8c4b.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2741763055_9a7bb00802.jpg b/dataset/val/bees/2741763055_9a7bb00802.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2745389517_250a397f31.jpg b/dataset/val/bees/2745389517_250a397f31.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2751836205_6f7b5eff30.jpg b/dataset/val/bees/2751836205_6f7b5eff30.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2782079948_8d4e94a826.jpg b/dataset/val/bees/2782079948_8d4e94a826.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2809496124_5f25b5946a.jpg b/dataset/val/bees/2809496124_5f25b5946a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2815838190_0a9889d995.jpg b/dataset/val/bees/2815838190_0a9889d995.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2841437312_789699c740.jpg b/dataset/val/bees/2841437312_789699c740.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/2883093452_7e3a1eb53f.jpg b/dataset/val/bees/2883093452_7e3a1eb53f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/290082189_f66cb80bfc.jpg b/dataset/val/bees/290082189_f66cb80bfc.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/296565463_d07a7bed96.jpg b/dataset/val/bees/296565463_d07a7bed96.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/3077452620_548c79fda0.jpg b/dataset/val/bees/3077452620_548c79fda0.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/348291597_ee836fbb1a.jpg b/dataset/val/bees/348291597_ee836fbb1a.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/350436573_41f4ecb6c8.jpg b/dataset/val/bees/350436573_41f4ecb6c8.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/353266603_d3eac7e9a0.jpg b/dataset/val/bees/353266603_d3eac7e9a0.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/372228424_16da1f8884.jpg b/dataset/val/bees/372228424_16da1f8884.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/400262091_701c00031c.jpg b/dataset/val/bees/400262091_701c00031c.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/416144384_961c326481.jpg b/dataset/val/bees/416144384_961c326481.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/44105569_16720a960c.jpg b/dataset/val/bees/44105569_16720a960c.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/456097971_860949c4fc.jpg b/dataset/val/bees/456097971_860949c4fc.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/464594019_1b24a28bb1.jpg b/dataset/val/bees/464594019_1b24a28bb1.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/485743562_d8cc6b8f73.jpg b/dataset/val/bees/485743562_d8cc6b8f73.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/540976476_844950623f.jpg b/dataset/val/bees/540976476_844950623f.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/54736755_c057723f64.jpg b/dataset/val/bees/54736755_c057723f64.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/57459255_752774f1b2.jpg b/dataset/val/bees/57459255_752774f1b2.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/576452297_897023f002.jpg b/dataset/val/bees/576452297_897023f002.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/586474709_ae436da045.jpg b/dataset/val/bees/586474709_ae436da045.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/590318879_68cf112861.jpg b/dataset/val/bees/590318879_68cf112861.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/59798110_2b6a3c8031.jpg b/dataset/val/bees/59798110_2b6a3c8031.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/603709866_a97c7cfc72.jpg b/dataset/val/bees/603709866_a97c7cfc72.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/603711658_4c8cd2201e.jpg b/dataset/val/bees/603711658_4c8cd2201e.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/65038344_52a45d090d.jpg b/dataset/val/bees/65038344_52a45d090d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/6a00d8341c630a53ef00e553d0beb18834-800wi.jpg b/dataset/val/bees/6a00d8341c630a53ef00e553d0beb18834-800wi.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/72100438_73de9f17af.jpg b/dataset/val/bees/72100438_73de9f17af.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/759745145_e8bc776ec8.jpg b/dataset/val/bees/759745145_e8bc776ec8.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/936182217_c4caa5222d.jpg b/dataset/val/bees/936182217_c4caa5222d.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset/val/bees/abeja.jpg b/dataset/val/bees/abeja.jpg new file mode 100644 index 0000000..e69de29 diff --git a/dataset_transform.py b/dataset_transform.py new file mode 100644 index 0000000..e0ef2ed --- /dev/null +++ b/dataset_transform.py @@ -0,0 +1,25 @@ +import torchvision +from torch.utils.tensorboard import SummaryWriter + +dataset_transform = torchvision.transforms.Compose([ + torchvision.transforms.ToTensor(), + +]) +train_set = torchvision.datasets.CIFAR10(root='./dataset', train=True, transform=dataset_transform ,download=True) +test_set = torchvision.datasets.CIFAR10(root='./dataset', train=False, transform=dataset_transform ,download=True) + +# print(test_set[0]) +# print(test_set.classes) +# img, target = test_set[0] +# print(img) +# print(target) +# print(test_set.classes[target]) +# img.show() +# print(test_set[0]) + +writer = SummaryWriter("p10") +for i in range(10): + img, target = test_set[i] + writer.add_image("test_set", img, i) + +writer.close() \ No newline at end of file diff --git a/images/7759525_1363d24e88.jpg b/images/7759525_1363d24e88.jpg new file mode 100644 index 0000000..e69de29 diff --git a/logs/events.out.tfevents.1690790854.DESKTOP-NPRDBA4.11540.0 b/logs/events.out.tfevents.1690790854.DESKTOP-NPRDBA4.11540.0 new file mode 100644 index 0000000..e69de29 diff --git a/logs_maxpool/events.out.tfevents.1690793100.DESKTOP-NPRDBA4.20196.0 b/logs_maxpool/events.out.tfevents.1690793100.DESKTOP-NPRDBA4.20196.0 new file mode 100644 index 0000000..e69de29 diff --git a/logs_relu/events.out.tfevents.1690795272.DESKTOP-NPRDBA4.12024.0 b/logs_relu/events.out.tfevents.1690795272.DESKTOP-NPRDBA4.12024.0 new file mode 100644 index 0000000..e69de29 diff --git a/read_data.py b/read_data.py new file mode 100644 index 0000000..f3dc554 --- /dev/null +++ b/read_data.py @@ -0,0 +1,33 @@ +from torch.utils.data import Dataset +import cv2 +from PIL import Image +import os + + +class MyDataset(Dataset): + + def __init__(self, root_dir, label_dir): + self.root_dir = root_dir + self.label_dir = label_dir + self.path = os.path.join(self.root_dir, self.label_dir) + self.img_path = os.listdir(self.path) + + # __getitem__ 是一个魔法方法,当使用dataset[i]获取第i个样本时,就会调用该方法。 + def __getitem__(self, idx): + img_name = self.img_path[idx] + img_item_path = os.path.join(self.root_dir, self.label_dir, img_name) + img = Image.open(img_item_path) + label = self.label_dir + + return img, label + + def __len__(self): + return len(self.img_path) + + +root_dir = 'dataset/train' +ants_label_dir = 'ants' +bees_label_dir = 'bees' +ants_dataset = MyDataset(root_dir, ants_label_dir) +bees_dataset = MyDataset(root_dir, bees_label_dir) +print(ants_dataset[0]) \ No newline at end of file diff --git a/src/nn_conv.py b/src/nn_conv.py new file mode 100644 index 0000000..46238f9 --- /dev/null +++ b/src/nn_conv.py @@ -0,0 +1,31 @@ +import torch +import torch.nn.functional as F + +input = torch.tensor([[1, 2, 0, 3, 1], + [0, 1, 2, 3, 2], + [1, 2, 1, 0, 0], + [5, 2, 3, 1, 1], + [2, 1, 0, 1, 1]]) + +kernel = torch.tensor([[1, 2, 1], + [0, 1, 0], + [2, 1, 0]]) + +input = torch.reshape(input, (1, 1, 5, 5)) +kernel = torch.reshape(kernel, (1, 1, 3, 3)) + +print(input.shape) +print(kernel.shape) + +output = F.conv2d(input, kernel, stride=1) +print(output) + +output2 = F.conv2d(input, kernel, stride=2) +print(output2) + +# stride步进 kernel我们的卷积核 padding是填充四周 +output3 = F.conv2d(input, kernel, stride=1, padding=1) +print(output3) + + + diff --git a/src/nn_conv2d.py b/src/nn_conv2d.py new file mode 100644 index 0000000..f3617d5 --- /dev/null +++ b/src/nn_conv2d.py @@ -0,0 +1,38 @@ +import torch +import torchvision +import torch.nn as nn +from torch.utils.data import DataLoader +from torch.utils.tensorboard import SummaryWriter + +dataset = torchvision.datasets.CIFAR10(root='../dataset', train=False, transform=torchvision.transforms.ToTensor(), + download=True) +dataloader = DataLoader(dataset, batch_size=64) + +class Tudui(nn.Module): + def __init__(self): + super(Tudui, self).__init__() + self.conv1 = nn.Conv2d(in_channels=3, out_channels=6, kernel_size=3, stride=1, padding=0) + + def forward(self, x): + x = self.conv1(x) + return x + +tudui = Tudui() +# print(tudui) + +writer = SummaryWriter('../logs') +step = 0 +for data in dataloader: + imgs, targets = data + output = tudui(imgs) + print(imgs.shape) + print(output.shape) + # torch.Size([64, 3, 32, 32]) + writer.add_images('input', imgs, step) + # torch.Size([64, 6, 30, 30]) => torch.Size([64, 3, 30, 30]) + output = torch.reshape(output, (-1, 3, 30, 30)) + writer.add_images('output', output, step) + step += 1 + +writer.close() + diff --git a/src/nn_liner.py b/src/nn_liner.py new file mode 100644 index 0000000..c6a6d62 --- /dev/null +++ b/src/nn_liner.py @@ -0,0 +1,30 @@ +import torch +import torchvision +from torch import nn +from torch.nn import Linear +from torch.utils.data import DataLoader + +datasset = torchvision.datasets.CIFAR10(root='../dataset', train=False, download=True, + transform=torchvision.transforms.ToTensor()) +dataloader = DataLoader(datasset, batch_size=64) + + +class Tudui(nn.Module): + def __init__(self): + super(Tudui, self).__init__() + self.Linera1 = Linear(196608, 10) + + def forward(self, input): + output = self.Linera1(input) + return output + + +tudui = Tudui() + +for data in dataloader: + imgs, targets = data + output = torch.reshape(imgs, (1, 1, 1, -1)) + output = torch.flatten(imgs) + print(output.shape) + output = tudui(output) + print(output.shape) diff --git a/src/nn_maxpool.py b/src/nn_maxpool.py new file mode 100644 index 0000000..c71f71d --- /dev/null +++ b/src/nn_maxpool.py @@ -0,0 +1,50 @@ +import torch +import torchvision +from torch import nn +from torch.utils.data import DataLoader +from torch.utils.tensorboard import SummaryWriter + +dataset = torchvision.datasets.CIFAR10(root='../dataset', train=False, + transform=torchvision.transforms.ToTensor(),) + +dataloader = DataLoader(dataset, batch_size=64) + +# input = torch.tensor([[1, 2, 0, 3, 1], +# [0, 1, 2, 3, 1], +# [1, 2, 1, 0, 0], +# [5, 2, 3, 1, 1], +# [2, 1, 0, 1, 1]], dtype=torch.float32) +# +# # 转换为(C,H ,W)格式 unsqueeze是增加维度 0是在第0维增加 +# # input = input.unsqueeze(0).unsqueeze(0) +# input = torch.reshape(input, (-1, 1, 5, 5)) +# print(input.shape) + +class Tudui(nn.Module): + def __init__(self): + super(Tudui, self).__init__() + # ceil_mode=True表示向上取整 + # self.maxpool1 = nn.MaxPool2d(kernel_size=3, ceil_mode=True) + self.maxpool1 = nn.MaxPool2d(kernel_size=3, ceil_mode=False) + + + def forward(self, input): + output = self.maxpool1(input) + return output + +# 最大池化的感觉就是把一个区域内的最大值取出来 +# 文件尺寸会变小 +tudui = Tudui() +step = 0 +writer = SummaryWriter("../logs_maxpool") +for data in dataloader: + imgs, targets = data + output = tudui(imgs) + writer.add_images("input", imgs, step) + writer.add_images("output", output, step) + step += 1 + +writer.close() + + + diff --git a/src/nn_module.py b/src/nn_module.py new file mode 100644 index 0000000..304d96b --- /dev/null +++ b/src/nn_module.py @@ -0,0 +1,17 @@ +import torch +from torch import nn + + +class Tudui(nn.Module): + def __init__(self): + super().__init__() + + def forward(self, input): + output = input + 1 + return output + + +tudui = Tudui() +x = torch.tensor(1.0) +output = tudui(x) +print(output) diff --git a/src/nn_relu.py b/src/nn_relu.py new file mode 100644 index 0000000..83aa8bf --- /dev/null +++ b/src/nn_relu.py @@ -0,0 +1,40 @@ +import torch +import torchvision +from torch.nn import ReLU, Sigmoid +from torch.utils.data import DataLoader +from torch.utils.tensorboard import SummaryWriter + +# 检查GPU是否可用,若可用,则使用GPU,否则使用CPU +device = torch.device("cuda" if torch.cuda.is_available() else "cpu") + +dataset = torchvision.datasets.CIFAR10(root='../dataset', train=False, download=True, + transform=torchvision.transforms.ToTensor()) +dataloader = DataLoader(dataset, batch_size=64) + + +class Tudui(torch.nn.Module): + def __init__(self): + super(Tudui, self).__init__() + self.relu1 = ReLU(inplace=True) + self.sigmoid1 = Sigmoid() + + def forward(self, input): + output = self.sigmoid1(input) + return output + + +tudui = Tudui().to(device) + +writer = SummaryWriter('../logs_relu') +step = 0 +for data in dataloader: + imgs, targets = data + # 将数据移动到GPU上 + imgs = imgs.to(device) + targets = targets.to(device) + + writer.add_images('input', imgs, step) + output = tudui(imgs) + writer.add_images('output', output, step) + step += 1 +writer.close() diff --git a/test/call_test.py b/test/call_test.py new file mode 100644 index 0000000..4bc3ed8 --- /dev/null +++ b/test/call_test.py @@ -0,0 +1,11 @@ +class Person: + def __call__(self, name): + print("__call__"+"hello", name) + + def hello(self, name): + print("hello", name) + + +person = Person() +person("world") +person.hello("world") \ No newline at end of file diff --git a/test_tb.py b/test_tb.py new file mode 100644 index 0000000..068db2c --- /dev/null +++ b/test_tb.py @@ -0,0 +1,18 @@ +from torch.utils.tensorboard import SummaryWriter +import numpy as np +from PIL import Image + +writer = SummaryWriter('logs') +# image_path = r"C:\Users\12642\Desktop\Picture\dataset\train\ants\0013035.jpg" +image_path = r"C:\Users\12642\Desktop\Picture\dataset\train\ants\6240338_93729615ec.jpg" +img_PIL = Image.open(image_path) +img_array = np.array(img_PIL) +print(type(img_array)) +print(img_array.shape) + + +writer.add_image("train", img_array, 1, dataformats='HWC') +for i in range(100): + writer.add_scalar("y=2x", 2*i, i) + +writer.close() diff --git a/transforms_test.py b/transforms_test.py new file mode 100644 index 0000000..d4d9713 --- /dev/null +++ b/transforms_test.py @@ -0,0 +1,15 @@ +from PIL import Image +from torch.utils.tensorboard import SummaryWriter +from torchvision import transforms + +img_path = r"C:\Users\12642\Desktop\Picture\dataset\train\ants\6240338_93729615ec.jpg" +img = Image.open(img_path) + +writer = SummaryWriter("logs") + +# transforms.ToTensor() 将 PIL.Image 或者 numpy.ndarray 转化为 tensor +tensor_trans = transforms.ToTensor() +tensor_img = transforms.ToTensor()(img) + +writer.add_image("tensor_img", tensor_img) # 这里的tensor_img是一个三维的tensor,所以可以直接显示 +writer.close() \ No newline at end of file diff --git a/userful_transforms.py b/userful_transforms.py new file mode 100644 index 0000000..0cab2b7 --- /dev/null +++ b/userful_transforms.py @@ -0,0 +1,44 @@ +from PIL import Image +from torch.utils.tensorboard import SummaryWriter +from torchvision import transforms + +writer = SummaryWriter("logs") +img = Image.open(r"images/7759525_1363d24e88.jpg") + +# TeTensor的使用 +trans_totensor = transforms.ToTensor() +img_tensor = trans_totensor(img) +writer.add_image("ToTensor", img_tensor) + +# Normalize的使用 +print(img_tensor[0][0][0]) +trans_norm = transforms.Normalize([1, 3, 5], [3, 2, 1]) +img_norm = trans_norm(img_tensor) +print(img_norm[0][0][0]) +writer.add_image("Normalize", img_norm,2) + +# Resize的使用 +print(img.size) +trans_resize = transforms.Resize((512, 512)) +# img PIL -> resize -> img_resize PIL +img_resize = trans_resize(img) # 返回的是PIL +# img_resize PIL -> ToTensor -> img_resize Tensor +img_resize = trans_totensor(img_resize) # PIL转换为Tensor +writer.add_image("Resize", img_resize, 0) + +# Compose的使用 compose = ToTensor + Normalize +trans_resize_2 = transforms.Resize(512) +# transforms.Compose([trans_resize_2, trans_totensor])是一个类,可以直接调用 +# 用于将多个transforms组合起来使用 达到 ToTensor + Normalize 的效果 +trans_compose = transforms.Compose([trans_resize_2, trans_totensor]) +img_resize_2 = trans_compose(img) +writer.add_image("Raszie", img_resize_2, 1) + +# RandomCrop的使用 +trans_random = transforms.RandomCrop(256, 128) +trans_compose2 = transforms.Compose([trans_random, trans_totensor]) +for i in range(10): + img_crop = trans_compose2(img) + writer.add_image("RandomCrop", img_crop, i) + +writer.close() \ No newline at end of file