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

Suggestion of update a code sentence that will occuor error #2

Open
Jiaen529 opened this issue Sep 13, 2024 · 2 comments
Open

Suggestion of update a code sentence that will occuor error #2

Jiaen529 opened this issue Sep 13, 2024 · 2 comments

Comments

@Jiaen529
Copy link

Hi,

  1. In the data folder, dataset.py. I have had an error says:"ZeroDivisionError: float division by zero" when trying run your train.py with no changes made. Since in train.py line 168 total_time / total_step will have total step=0. How about you change your line 21 in dataset.py to my version -- if "seg" in path.lower(): -- this will give you a more robust model and no error on my test on your data and model.
  2. in train.py line 68, I also need to change the shuffle to non true and then it runs good, not typically understand why, please explain more if have time
    Thanks
@pengyouwei
Copy link

I met the same questions.

@obiyoag
Copy link
Owner

obiyoag commented Nov 12, 2024

Hi! Thx for your issue. You can make a PR to fix that.

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

No branches or pull requests

3 participants