Group-Activity-Recognition icon indicating copy to clipboard operation
Group-Activity-Recognition copied to clipboard

SOME ERROR IN NEW VERSION

Open NaifahNurya opened this issue 5 years ago • 4 comments

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

NaifahNurya avatar Sep 01 '19 02:09 NaifahNurya

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

ruiyan1995 avatar Sep 01 '19 08:09 ruiyan1995

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.

NaifahNurya avatar Sep 01 '19 12:09 NaifahNurya

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?

ruiyan1995 avatar Sep 03 '19 07:09 ruiyan1995

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

NaifahNurya avatar Sep 11 '19 06:09 NaifahNurya