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

SOME ERROR IN NEW VERSION #8

Open
NaifahNurya opened this issue Sep 1, 2019 · 4 comments
Open

SOME ERROR IN NEW VERSION #8

NaifahNurya opened this issue Sep 1, 2019 · 4 comments

Comments

@NaifahNurya
Copy link

I tested the new version of the code it gives the following errors; i seems the test & train_val files are created but fails to be written. it means the file are created but it is empty.

The following are what i got,

I tested the code on VD dataset.

Epoch 0/14

Traceback (most recent call last):
File "GAR.py", line 34, in
Action.trainval()
File "C:\Users\GAR3\Runtime\Piplines.py", line 60, in trainval
self.solver.train_model()
File "C:\Users\GAR3\Solver.py", line 96, in train_model
epoch_loss = float(self.running_loss) /(self.data_sizes[phase])
ZeroDivisionError: float division by zero

ZeroDivisionError due to nothing on data_sizes[phase], because the file traival is empty

Any idea on how to clear this??
Error

@ruiyan1995
Copy link
Owner

The directory structure of 'imgs_ranked' should be the same as 'imgs'. I'm confused about the folder of 'dataset'.

@NaifahNurya
Copy link
Author

The directory structure looks as follows:

VD then in the VD there are three folders i.e imgs, video and imgs_ranked. Then when you enter into the imgs_ranked folder there are dataset folder and other four files as shown in the attachment above.

@ruiyan1995
Copy link
Owner

The directory structure looks as follows:

VD then in the VD there are three folders i.e imgs, video and imgs_ranked. Then when you enter into the imgs_ranked folder there are dataset folder and other four files as shown in the attachment above.

Did it run successfully?

@NaifahNurya
Copy link
Author

Yes, it runs successfully. Sorry for the late reply, I was far from access to my PC.

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

2 participants