Skip to content

Instantly share code, notes, and snippets.

View Yuxin-CV's full-sized avatar
🎯
Focusing

Yuxin Fang (方羽新) Yuxin-CV

🎯
Focusing
View GitHub Profile
import pandas as pd
import numpy as np
from sklearn.datasets import load_wine
from sklearn.preprocessing import StandardScaler
from sklearn.pipeline import make_pipeline
from sklearn.cluster import KMeans
import matplotlib.pyplot as plt
import textwrap
import math
@Yuxin-CV
Yuxin-CV / radar.ipynb
Created December 4, 2022 13:57 — forked from donglixp/radar.ipynb
Radar figure in BEiT-3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Yuxin-CV
Yuxin-CV / YOLOS_Small_200_epochs_pre.txt
Created June 1, 2021 15:16
YOLOS-Small @ COCO val (200 epochs pre-train @ ImageNet-1k)
{"train_lr": 2.4999999999997524e-05, "train_class_error": 81.30076503611765, "train_loss": 3.3930469636067024, "train_loss_bbox": 0.8641637890450641, "train_loss_ce": 1.2011907276738147, "train_loss_giou": 1.3276924462589637, "train_cardinality_error_unscaled": 7.416077708643312, "train_class_error_unscaled": 81.30076503611765, "train_loss_bbox_unscaled": 0.172832757846301, "train_loss_ce_unscaled": 1.2011907276738147, "train_loss_giou_unscaled": 0.6638462231294818, "test_class_error": 66.93466174926758, "test_loss": 2.8162187183380127, "test_loss_bbox": 0.6597358552455902, "test_loss_ce": 0.9288335313796997, "test_loss_giou": 1.2276493273735047, "test_cardinality_error_unscaled": 10.341, "test_class_error_unscaled": 66.93466174926758, "test_loss_bbox_unscaled": 0.13194717106819154, "test_loss_ce_unscaled": 0.9288335313796997, "test_loss_giou_unscaled": 0.6138246636867524, "test_coco_eval_bbox": [0.02384745931357076, 0.06446842106875374, 0.012877552876308406, 0.00392983253770738, 0.014774909473693717, 0.04410
@Yuxin-CV
Yuxin-CV / YOLOS_Tiny.txt
Created June 1, 2021 15:13
YOLOS-Tiny @ COCO val
{"train_lr": 4.9999999999995605e-05, "train_class_error": 86.30990887578311, "train_loss": 3.761713467059657, "train_loss_bbox": 0.9245727561524091, "train_loss_ce": 1.4382879581097319, "train_loss_giou": 1.3988527509028739, "train_cardinality_error_unscaled": 6.89087650480184, "train_class_error_unscaled": 86.30990887578311, "train_loss_bbox_unscaled": 0.18491455122886935, "train_loss_ce_unscaled": 1.4382879581097319, "train_loss_giou_unscaled": 0.6994263754514369, "test_class_error": 78.35096096002256, "test_loss": 3.2435315576986, "test_loss_bbox": 0.7276840010009253, "test_loss_ce": 1.1883557280793358, "test_loss_giou": 1.3274918259523165, "test_cardinality_error_unscaled": 7.338258785942492, "test_class_error_unscaled": 78.35096096002256, "test_loss_bbox_unscaled": 0.14553680016209905, "test_loss_ce_unscaled": 1.1883557280793358, "test_loss_giou_unscaled": 0.6637459129761583, "test_coco_eval_bbox": [0.01366180927404812, 0.03746316345928689, 0.008142270904018417, 0.001229843861041841, 0.007382852502125229
@Yuxin-CV
Yuxin-CV / DeiT_Small_200_epochs_pre.txt
Created June 1, 2021 15:01
DeiT-Samll @ ImageNet-1k (Pre-train 200 Epochs)
{"train_lr": 9.999999999999953e-07, "train_loss": 6.934438605865033, "epoch": 0, "n_parameters": 22050664}
{"train_lr": 9.999999999999953e-07, "train_loss": 6.901241369241719, "epoch": 1, "n_parameters": 22050664}
{"train_lr": 0.00020080000000000092, "train_loss": 6.75567844217058, "epoch": 2, "n_parameters": 22050664}
{"train_lr": 0.000400599999999987, "train_loss": 6.563156393744486, "epoch": 3, "n_parameters": 22050664}
{"train_lr": 0.0006003999999999824, "train_loss": 6.442344095543039, "epoch": 4, "n_parameters": 22050664}
{"train_lr": 0.0008002000000000078, "train_loss": 6.351373942064153, "epoch": 5, "n_parameters": 22050664}
{"train_lr": 0.0009984740801978918, "train_loss": 6.261527323656136, "epoch": 6, "n_parameters": 22050664}
{"train_lr": 0.0009978031724785232, "train_loss": 6.121864894787661, "epoch": 7, "n_parameters": 22050664}
{"train_lr": 0.0009970106729503033, "train_loss": 5.994587432947472, "epoch": 8, "n_parameters": 22050664}
{"train_lr": 0.0009960967771506664, "train_loss": 5.8780693907
@Yuxin-CV
Yuxin-CV / DeiT_Small_dWr.txt
Created June 1, 2021 14:29
DeiT-Small (dWr) @ ImageNet-1k
{"train_lr": 7.50000000000016e-07, "train_loss": 6.934286373482048, "test_loss": 6.87387308581122, "test_acc1": 0.2580000040626526, "test_acc5": 1.280000023612976, "epoch": 0, "n_parameters": 19015600}
{"train_lr": 7.50000000000016e-07, "train_loss": 6.9061572715389925, "test_loss": 6.840514380356361, "test_acc1": 0.3880000025367737, "test_acc5": 1.6980000116157532, "epoch": 1, "n_parameters": 19015600}
{"train_lr": 0.0001506000000000007, "train_loss": 6.751336622080928, "test_loss": 6.122657075695608, "test_acc1": 2.7940000149536135, "test_acc5": 9.458000077877045, "epoch": 2, "n_parameters": 19015600}
{"train_lr": 0.000300450000000005, "train_loss": 6.551928960983988, "test_loss": 5.6836717786460085, "test_acc1": 5.6200000294494625, "test_acc5": 16.206000142726896, "epoch": 3, "n_parameters": 19015600}
{"train_lr": 0.0004503000000000076, "train_loss": 6.426480435210166, "test_loss": 5.33593088388443, "test_acc1": 7.9280000530815125, "test_acc5": 21.38600009721756, "epoch": 4, "n_parameters": 19015600}
{"tra
@Yuxin-CV
Yuxin-CV / YOLOS_Small_dWr.txt
Created June 1, 2021 14:25
YOLOS-Small (dWr) @ COCO val
{"train_lr": 2.4999999999997524e-05, "train_class_error": 80.0760813951331, "train_loss": 3.328800046264956, "train_loss_bbox": 0.841228615880077, "train_loss_ce": 1.1769325671709714, "train_loss_giou": 1.31063886416526, "train_cardinality_error_unscaled": 7.682055660760178, "train_class_error_unscaled": 80.0760813951331, "train_loss_bbox_unscaled": 0.1682457231936517, "train_loss_ce_unscaled": 1.1769325671709714, "train_loss_giou_unscaled": 0.65531943208263, "test_class_error": 67.37851389770508, "test_loss": 2.751616989326477, "test_loss_bbox": 0.6388186894416809, "test_loss_ce": 0.8964174631595612, "test_loss_giou": 1.2163808352470398, "test_cardinality_error_unscaled": 9.317, "test_class_error_unscaled": 67.37851389770508, "test_loss_bbox_unscaled": 0.12776373796463011, "test_loss_ce_unscaled": 0.8964174631595612, "test_loss_giou_unscaled": 0.6081904176235199, "test_coco_eval_bbox": [0.026660854337414833, 0.07054670260732131, 0.0154011331493928, 0.004079265267865866, 0.016117376607971974, 0.05124324620896
@Yuxin-CV
Yuxin-CV / YOLOS_Base.txt
Last active June 1, 2021 14:24
YOLOS-Base @ COCO val
{"train_lr": 2.4999999999997524e-05, "train_class_error": 62.12745769298336, "train_loss": 2.818944936109528, "train_loss_bbox": 0.7218607918111297, "train_loss_ce": 0.8822432657237403, "train_loss_giou": 1.2148408791914242, "train_cardinality_error_unscaled": 10.106621128094144, "train_class_error_unscaled": 62.12745769298336, "train_loss_bbox_unscaled": 0.14437215835920258, "train_loss_ce_unscaled": 0.8822432657237403, "train_loss_giou_unscaled": 0.6074204395957121, "test_class_error": 41.316311795043944, "test_loss": 2.366806725502014, "test_loss_bbox": 0.5450266806602478, "test_loss_ce": 0.692864907169342, "test_loss_giou": 1.128915145301819, "test_cardinality_error_unscaled": 14.9562, "test_class_error_unscaled": 41.316311795043944, "test_loss_bbox_unscaled": 0.10900533590316773, "test_loss_ce_unscaled": 0.692864907169342, "test_loss_giou_unscaled": 0.5644575726509095, "test_coco_eval_bbox": [0.06381132312998035, 0.15346610609478803, 0.04428455599772321, 0.011383617797112234, 0.04139738868703425, 0.13089
@Yuxin-CV
Yuxin-CV / YOLOS_Small_300_epochs_pre.txt
Last active June 1, 2021 15:16
YOLOS-Small @ COCO val (300 epochs pre-train @ ImageNet-1k)
{"train_lr": 2.4999999999997524e-05, "train_class_error": 81.70456260527388, "train_loss": 3.334428042000046, "train_loss_bbox": 0.8232850083237521, "train_loss_ce": 1.2169403922113597, "train_loss_giou": 1.2942026428697913, "train_cardinality_error_unscaled": 7.2747954145813605, "train_class_error_unscaled": 81.70456260527388, "train_loss_bbox_unscaled": 0.16465700167825478, "train_loss_ce_unscaled": 1.2169403922113597, "train_loss_giou_unscaled": 0.6471013214348956, "test_class_error": 68.05737717895508, "test_loss": 2.773131402587891, "test_loss_bbox": 0.6361271719932556, "test_loss_ce": 0.9216441662788392, "test_loss_giou": 1.2153600636482238, "test_cardinality_error_unscaled": 10.3104, "test_class_error_unscaled": 68.05737717895508, "test_loss_bbox_unscaled": 0.1272254345536232, "test_loss_ce_unscaled": 0.9216441662788392, "test_loss_giou_unscaled": 0.6076800318241119, "test_coco_eval_bbox": [0.025525942745533565, 0.06803296062301596, 0.01476127418922928, 0.005234962228249364, 0.01586043326641285, 0.0484
@Yuxin-CV
Yuxin-CV / QueryInst_Swin_L_300_queries_test_mask.txt
Created May 17, 2021 02:53
QueryInst-Swin-L mask AP @ COCO test-dev
Annotation Type: segm
loading annotations into memory...
Done (t=2.99s)
creating index...
index created!
Loading and preparing results...
DONE (t=51.18s)
creating index...
index created!
evaluate category: person