--- license: apache-2.0 tags: - generated_from_trainer datasets: - imagefolder metrics: - accuracy model-index: - name: plant-seedlings-freeze-0-6-aug-3-all-train-2 results: - task: name: Image Classification type: image-classification dataset: name: imagefolder type: imagefolder config: default split: train args: default metrics: - name: Accuracy type: accuracy value: 0.949048496009822 --- # plant-seedlings-freeze-0-6-aug-3-all-train-2 This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset. It achieves the following results on the evaluation set: - Loss: 0.1846 - Accuracy: 0.9490 ## Model description More information needed ## Intended uses & limitations More information needed ## Training and evaluation data More information needed ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 0.0002 - train_batch_size: 16 - eval_batch_size: 8 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 22 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:--------:| | 0.6118 | 0.25 | 100 | 0.6427 | 0.7901 | | 0.5478 | 0.49 | 200 | 0.5610 | 0.8232 | | 0.3263 | 0.74 | 300 | 0.4523 | 0.8508 | | 0.3938 | 0.98 | 400 | 0.3913 | 0.8649 | | 0.3764 | 1.23 | 500 | 0.4459 | 0.8539 | | 0.422 | 1.47 | 600 | 0.3761 | 0.8711 | | 0.491 | 1.72 | 700 | 0.3525 | 0.8729 | | 0.361 | 1.97 | 800 | 0.3738 | 0.8699 | | 0.2441 | 2.21 | 900 | 0.3580 | 0.8828 | | 0.4054 | 2.46 | 1000 | 0.4232 | 0.8692 | | 0.3191 | 2.7 | 1100 | 0.2954 | 0.8969 | | 0.343 | 2.95 | 1200 | 0.3528 | 0.8785 | | 0.1623 | 3.19 | 1300 | 0.2624 | 0.9122 | | 0.3418 | 3.44 | 1400 | 0.4062 | 0.8686 | | 0.2535 | 3.69 | 1500 | 0.3043 | 0.8975 | | 0.3356 | 3.93 | 1600 | 0.2746 | 0.9104 | | 0.2092 | 4.18 | 1700 | 0.3080 | 0.9048 | | 0.2423 | 4.42 | 1800 | 0.2958 | 0.9018 | | 0.3758 | 4.67 | 1900 | 0.2949 | 0.9055 | | 0.3434 | 4.91 | 2000 | 0.2647 | 0.9251 | | 0.1809 | 5.16 | 2100 | 0.3192 | 0.9036 | | 0.1617 | 5.41 | 2200 | 0.3036 | 0.8975 | | 0.3044 | 5.65 | 2300 | 0.3053 | 0.8956 | | 0.1709 | 5.9 | 2400 | 0.3879 | 0.8846 | | 0.2963 | 6.14 | 2500 | 0.3243 | 0.8932 | | 0.2314 | 6.39 | 2600 | 0.2632 | 0.9147 | | 0.1128 | 6.63 | 2700 | 0.1934 | 0.9374 | | 0.3211 | 6.88 | 2800 | 0.3639 | 0.8901 | | 0.1108 | 7.13 | 2900 | 0.2748 | 0.9116 | | 0.1128 | 7.37 | 3000 | 0.3050 | 0.9091 | | 0.1648 | 7.62 | 3100 | 0.2830 | 0.9134 | | 0.0887 | 7.86 | 3200 | 0.2707 | 0.9134 | | 0.198 | 8.11 | 3300 | 0.2978 | 0.9116 | | 0.1902 | 8.35 | 3400 | 0.2946 | 0.9042 | | 0.1294 | 8.6 | 3500 | 0.2440 | 0.9227 | | 0.2045 | 8.85 | 3600 | 0.2637 | 0.9104 | | 0.2953 | 9.09 | 3700 | 0.2741 | 0.9141 | | 0.2298 | 9.34 | 3800 | 0.2652 | 0.9177 | | 0.2703 | 9.58 | 3900 | 0.2832 | 0.9091 | | 0.261 | 9.83 | 4000 | 0.2521 | 0.9239 | | 0.1135 | 10.07 | 4100 | 0.2647 | 0.9227 | | 0.2153 | 10.32 | 4200 | 0.2623 | 0.9165 | | 0.2826 | 10.57 | 4300 | 0.2619 | 0.9134 | | 0.14 | 10.81 | 4400 | 0.2275 | 0.9300 | | 0.1469 | 11.06 | 4500 | 0.2015 | 0.9282 | | 0.1961 | 11.3 | 4600 | 0.2150 | 0.9269 | | 0.1918 | 11.55 | 4700 | 0.2377 | 0.9288 | | 0.2371 | 11.79 | 4800 | 0.2622 | 0.9184 | | 0.0774 | 12.04 | 4900 | 0.2443 | 0.9239 | | 0.136 | 12.29 | 5000 | 0.2577 | 0.9196 | | 0.2154 | 12.53 | 5100 | 0.2278 | 0.9300 | | 0.0926 | 12.78 | 5200 | 0.2209 | 0.9349 | | 0.16 | 13.02 | 5300 | 0.2616 | 0.9196 | | 0.0983 | 13.27 | 5400 | 0.2337 | 0.9276 | | 0.1474 | 13.51 | 5500 | 0.2231 | 0.9355 | | 0.1653 | 13.76 | 5600 | 0.2356 | 0.9245 | | 0.099 | 14.0 | 5700 | 0.1976 | 0.9417 | | 0.1248 | 14.25 | 5800 | 0.2684 | 0.9257 | | 0.1565 | 14.5 | 5900 | 0.2197 | 0.9294 | | 0.1752 | 14.74 | 6000 | 0.2312 | 0.9368 | | 0.1962 | 14.99 | 6100 | 0.1968 | 0.9398 | | 0.1373 | 15.23 | 6200 | 0.1925 | 0.9435 | | 0.1003 | 15.48 | 6300 | 0.2182 | 0.9325 | | 0.0511 | 15.72 | 6400 | 0.1993 | 0.9454 | | 0.0401 | 15.97 | 6500 | 0.1941 | 0.9417 | | 0.1051 | 16.22 | 6600 | 0.2161 | 0.9349 | | 0.0593 | 16.46 | 6700 | 0.1940 | 0.9423 | | 0.1215 | 16.71 | 6800 | 0.2579 | 0.9269 | | 0.0568 | 16.95 | 6900 | 0.1968 | 0.9423 | | 0.087 | 17.2 | 7000 | 0.1827 | 0.9441 | | 0.0666 | 17.44 | 7100 | 0.2130 | 0.9454 | | 0.0971 | 17.69 | 7200 | 0.2082 | 0.9398 | | 0.1444 | 17.94 | 7300 | 0.2233 | 0.9337 | | 0.0687 | 18.18 | 7400 | 0.2127 | 0.9429 | | 0.0586 | 18.43 | 7500 | 0.2116 | 0.9380 | | 0.0501 | 18.67 | 7600 | 0.2089 | 0.9441 | | 0.0849 | 18.92 | 7700 | 0.1946 | 0.9490 | | 0.0702 | 19.16 | 7800 | 0.2154 | 0.9454 | | 0.0542 | 19.41 | 7900 | 0.1922 | 0.9478 | | 0.0617 | 19.66 | 8000 | 0.2004 | 0.9423 | | 0.061 | 19.9 | 8100 | 0.1923 | 0.9466 | | 0.145 | 20.15 | 8200 | 0.1738 | 0.9503 | | 0.0443 | 20.39 | 8300 | 0.2079 | 0.9429 | | 0.0462 | 20.64 | 8400 | 0.1900 | 0.9478 | | 0.0642 | 20.88 | 8500 | 0.1792 | 0.9460 | | 0.0715 | 21.13 | 8600 | 0.1926 | 0.9466 | | 0.0606 | 21.38 | 8700 | 0.1596 | 0.9527 | | 0.0677 | 21.62 | 8800 | 0.2054 | 0.9454 | | 0.0807 | 21.87 | 8900 | 0.1846 | 0.9490 | ### Framework versions - Transformers 4.28.1 - Pytorch 2.0.0+cu118 - Datasets 2.11.0 - Tokenizers 0.13.3