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 34 commits into
base: feedback
Choose a base branch
from
Open

Feedback #1

wants to merge 34 commits into from

Conversation

github-classroom[bot]
Copy link

@github-classroom github-classroom bot commented Sep 30, 2024

👋! GitHub Classroom created this pull request as a place for your teacher to leave feedback on your work. It will update automatically. Don’t close or merge this pull request, unless you’re instructed to do so by your teacher.
In this pull request, your teacher can leave comments and feedback on your code. Click the Subscribe button to be notified if that happens.
Click the Files changed or Commits tab to see all of the changes pushed to the default branch since the assignment started. Your teacher can see this too.

Notes for teachers

Use this PR to leave feedback. Here are some tips:

  • Click the Files changed tab to see all of the changes pushed to the default branch since the assignment started. To leave comments on specific lines of code, put your cursor over a line of code and click the blue + (plus sign). To learn more about comments, read “Commenting on a pull request”.
  • Click the Commits tab to see the commits pushed to the default branch. Click a commit to see specific changes.
  • If you turned on autograding, then click the Checks tab to see the results.
  • This page is an overview. It shows commits, line comments, and general comments. You can leave a general comment below.
    For more information about this pull request, read “Leaving assignment feedback in GitHub”.

Subscribed: @naringles @SkyBlue-boy @hanseungsoo13 @Ai-BT @cherry-space @Jeong-AYeong

Copy link

@aandyjeon aandyjeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review

@@ -0,0 +1,383 @@

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

전반적인 코드에 대한 구성이 부재합니다. 각각의 폴더와 파일의 역할을 명시해주어야 이 코드를 처음 보는 사람도 사용 및 개발할 수 있습니다.

@@ -0,0 +1,4757 @@
{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

통일된 형태가 될 수 있도록 .py 파일로 만들어주시는 게 좋을 거 같습니다. 중간중간 visualization을 해야 하는 경우에는 ipynb파일이 좋을 수 있지만, mmdetection의 train.py의 구조와 최대한 비슷하게 구성하시는 게 좋지 않을까 싶습니다.

@@ -0,0 +1,383 @@

# 재활용 품목 분류를 위한 Object Detection

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

소스코드를 어떻게 실행하는지에 대한 안내도 폴더 안에 readme를 두지 않고 첫 페이지에 두는 것이 바람직합니다.

@@ -0,0 +1,22 @@
nc: 10

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kfold 실험은 다른 모델에 대해서는 하지 않고 yolo에 대해서만 진행하나요? dataset은 보통 특정 모델 폴더 안에 두지 않는데 이렇게 하신 이유가 궁금합니다.

@@ -0,0 +1,955 @@
{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ipynb파일은 visualization이 아니면 사용을 최소화하는 것이 좋습니다. 처음에 디버깅을 위해 사용하신다고 해도 동작이 잘 되면 py 파일로 정리하여 업데이트하는 것이 좋습니다.

@@ -0,0 +1,307 @@
{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copy_paste가 잘 동작하는지 확인하기 위해 사용하신 코드인가요? 실험을 위해 필요하지는 않을 거 같아, 이런 코드들은 마지막에 정리해주시는 게 좋은 거 같습니다.

@@ -0,0 +1,122 @@
#!/usr/bin/env python

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

py파일로 코딩을 하는 습관을 들이셔야 합니다.

scores_list.append(list(map(float, predict_list[:, 1].tolist())))
labels_list.append(list(map(int, predict_list[:, 0].tolist())))

if len(boxes_list):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

주석처리를 하고 풀어가며 실험을 하시는 것보다는 if문을 만들어 argument에 따라 다른 조건으로 실험을 할 수 있는 구조로 바꾸시는 게 더 좋을 거 같습니다.

submission['image_id'] = file_names
try:
submission.to_csv('/home/donghun0671/workplace/lv2/level2-objectdetection-cv-11/tools/16tools/dino_submission_ensemble_wbf.csv', index=False)
print("파일 저장 성공!")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

사소한 것이지만 모든 언어를 영어로 써세요. 가끔 한국어는 인코딩에 따라 깨질 수도 있습니다.

@@ -0,0 +1,383 @@

# 재활용 품목 분류를 위한 Object Detection

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

직관적이지 않은 폴더와 파일명이 많습니다. 개발자의 이름을 쓰는 것을 지양해주시고, another, custom과 같은 이름도 지양해주시면 좋을 것 같습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants