Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback #1

Open
wants to merge 73 commits into
base: feedback
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
6cb05b0
Setting up GitHub Classroom Feedback
github-classroom[bot] Dec 29, 2023
703fd7f
Feat : Add gitignore and templates
soyoonjeong Jan 4, 2024
246af9a
Merge pull request #3 from boostcampaitech6/git-start
soyoonjeong Jan 4, 2024
b1c7d94
Rename : Rename github templates
soyoonjeong Jan 4, 2024
0bc9e25
Merge pull request #4 from boostcampaitech6/git-start
soyoonjeong Jan 4, 2024
df2c460
modify gitignore
jouhy Jan 5, 2024
aa27db7
modify gitignore
jouhy Jan 5, 2024
b40768a
modify gitignore
jouhy Jan 5, 2024
0c467c5
modify gitignore
jouhy Jan 5, 2024
d2884fd
add mmdetection
jouhy Jan 5, 2024
6f3a22a
add requirements folder for init
jouhy Jan 5, 2024
e16b823
Create albu.txt
jouhy Jan 5, 2024
0f77140
Create build.txt
jouhy Jan 5, 2024
4a95bfa
Create docs.txt
jouhy Jan 5, 2024
20d507a
Create mminstall.txt
jouhy Jan 5, 2024
f9ab9b9
Create multimodal.txt
jouhy Jan 5, 2024
ff267be
Create optional.txt
jouhy Jan 5, 2024
c33020b
Create readthedocs.txt
jouhy Jan 5, 2024
d5bcdd3
Create runtime.txt
jouhy Jan 5, 2024
68cbd3c
Create tests.txt
jouhy Jan 5, 2024
f7e9b3d
Create tracking.txt
jouhy Jan 5, 2024
4e492f6
Delete mmdetection/requirements/readme.md
jouhy Jan 5, 2024
ac2876c
move config folder
jouhy Jan 5, 2024
d38fb2c
modify gitignore
jouhy Jan 5, 2024
5404e42
add cuda test
taeyang916 Jan 5, 2024
9e051c5
modify cuda test
taeyang916 Jan 5, 2024
e3548d9
modify cuda test
taeyang916 Jan 5, 2024
2343872
Feat : Add wandb init function
taeyang916 Jan 5, 2024
055a8f7
Feat : add wandb run name
jouhy Jan 5, 2024
151b837
Feat : Modify prediction_string
jouhy Jan 5, 2024
0465b06
Feat : Add wandb logging hook
taeyang916 Jan 6, 2024
a1586b4
Feat : wandb run name with initial
taeyang916 Jan 6, 2024
40f7f5b
Feat : Add wandb logging method for training
jouhy Jan 6, 2024
ae39277
Feat : Add wandb logging mAP, loss bbox for evaluating
jouhy Jan 6, 2024
cf6d093
Feat : Specify default value for test_out_dir
jouhy Jan 6, 2024
556644a
Feat : Add mAP for training
jouhy Jan 6, 2024
653074c
Merge pull request #14 from boostcampaitech6/feat/submissionhook
soyoonjeong Jan 8, 2024
795a2e4
[FEAT] Add Commit Message Template (#13)
soyoonjeong Jan 8, 2024
a838afb
Feat : Modify annotation for mAP
jouhy Jan 9, 2024
f2fa372
Feat : Remove features without wandb logging
jouhy Jan 9, 2024
a9d46bf
Fix : Modify file name (#18)
jouhy Jan 9, 2024
b474f17
Feat : Calcualte Metric per class and per bbox size and Metric Hook
internationalwe Jan 10, 2024
c0f4aa2
" Feat : bbox size metrcic"
internationalwe Jan 10, 2024
8cd2a0b
# Feat : Add wandb logging
taeyang916 Jan 11, 2024
eed42e6
Feat : Modify bbox size and bbox count
internationalwe Jan 11, 2024
f35dadf
Merge branch 'feat/wandb_init' into feat/metrics
internationalwe Jan 11, 2024
47e15f1
Feat : Mergy with wandb logging hook
taeyang916 Jan 11, 2024
3d165cb
Feat : Modify metrics
taeyang916 Jan 11, 2024
2f93fff
Feat : Modify recycle metric
taeyang916 Jan 11, 2024
0ad8003
Fix : mAP to mAP50 and bbox_size, bbox_count class num
internationalwe Jan 11, 2024
62a9bc2
Feat : Modify wandb logging names
taeyang916 Jan 11, 2024
39a9b78
"Feat : Extract bbox, size and per class socres and logging in wandb
internationalwe Jan 11, 2024
16311c7
Feat : Modify Train loss by iter to epoch
internationalwe Jan 11, 2024
550b4de
Feat : Modify wandb set in train.py
internationalwe Jan 11, 2024
9a3986a
Fix : reference inner object to out object
internationalwe Jan 11, 2024
0672e0d
Remove : operating_configs and pytorch sphinx theme
internationalwe Jan 11, 2024
3e0bea0
Feat : mean ap return
internationalwe Jan 11, 2024
2e62586
Merge pull request #20 from boostcampaitech6/feat/metrics
soyoonjeong Jan 11, 2024
92f8708
Feat : Add wandb visualization function
taeyang916 Jan 11, 2024
24493f9
Feat : Modify wandb visualization
jouhy Jan 12, 2024
33e51df
Feat : Make Inference value bbox to Image and Wandb logging
internationalwe Jan 12, 2024
dc0b1cb
Fix : train metric
internationalwe Jan 12, 2024
ad79069
Merge pull request #22 from boostcampaitech6/feat/wandb_visualization
jouhy Jan 12, 2024
d59ad36
Feat : Add base config file
jouhy Jan 12, 2024
e61fc7d
Merge pull request #24 from boostcampaitech6/feat/base_config
taeyang916 Jan 12, 2024
5a5cbf5
Fix : modify base config for visualization
jouhy Jan 12, 2024
c70a1ab
Feat : modify inference image interval and resize
internationalwe Jan 12, 2024
17d9ebb
Feat : Modify vis loggin interval
taeyang916 Jan 14, 2024
67fd602
Merge pull request #26 from boostcampaitech6/feat/base_config
taeyang916 Jan 14, 2024
0a63bab
[FEAT] Ensemble 코드 구현 (#28)
jouhy Jan 18, 2024
ed8ff6d
Feat : add upsampling file
dlatjgus0612 Jan 20, 2024
b3b71f2
[FEAT] Add Train, Validation file (#30)
carboxaminoo Jan 20, 2024
8a78c71
Docs : Add README
dlatjgus0612 Apr 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix : train metric
-
-#21
internationalwe committed Jan 12, 2024
commit dc0b1cb7d192130afa1fca53af3e552570dd708f
14 changes: 4 additions & 10 deletions mmdetection/mmdet/engine/hooks/metric_hook.py
Original file line number Diff line number Diff line change
@@ -23,11 +23,8 @@ def __init__(self) -> None:
self.size_boundary = self.metric_class.bbox_size_boundary[1:-1]
self.train_loss = {
"train_loss": [],
"train_loss_rpn_cls": [],
"train_loss_rpn_bbox": [],
"train_loss_cls": [],
"train_loss_bbox": [],
"train_acc": [],
}

def after_train_iter(
@@ -66,11 +63,8 @@ def after_train_iter(

"""
self.train_loss["train_loss"].append(outputs["loss"])
self.train_loss["train_loss_rpn_cls"].append(outputs["loss_rpn_cls"])
self.train_loss["train_loss_rpn_bbox"].append(outputs["loss_rpn_bbox"])
self.train_loss["train_loss_cls"].append(outputs["loss_cls"])
self.train_loss["train_loss_bbox"].append(outputs["loss_bbox"])
self.train_loss["train_acc"].append(outputs["acc"])

def after_val_iter(
self,
@@ -154,7 +148,10 @@ def after_val_epoch(
score_dict = {}
# train Scores
for key, value in self.train_loss.items():
score_dict[key] = sum(value) / len(value)
try:
score_dict[key] = sum(value) / len(value)
except:
score_dict[key] = 0

labels = [
"General trash",
@@ -287,11 +284,8 @@ def after_val_epoch(
# clear
self.train_loss = {
"train_loss": [],
"train_loss_rpn_cls": [],
"train_loss_rpn_bbox": [],
"train_loss_cls": [],
"train_loss_bbox": [],
"train_acc": [],
}
self.metric_class.clear_init()