Skip to content

ValueError, probable mismatch in dataset #7

@youtiwari

Description

@youtiwari

Question

Hi @JustinYuu, I hope this finds you well,
We downloaded the dataset from XD-Violence, as mentioned in the readme file, and then we converted it into list files (attached below) using the make_list.py file in the list directory and stored them in appropriate places. After that, when I tried to run the code(main.py) as it is in GitHub. But I am getting a ValueError message -cannot reshape array of size 408544 into shape (1047,1024) (I have attached the same for your reference). I even tried to print the values of f_v and f_a (attached).

env used
python==3.6.9
torch==1.6.0
cuda==10.2
numpy==1.17.4

we also didn't change anything in option.py
please suggest what could be the issue, it would be of great help.

MACIL_SD_error

audio_test list
audio list
f_a shape after process_feat
f_v shape after process_fe list index at
orginal shape of f_v
![original shape of f_a](http
rgb_test list
s://github.com/JustinYuu/MACIL_SD/assets/96651265/503530ff-1bdf-4ec3-9cb9-1b4e3e4d73e3)

rgb_test list
rgb list

Thank You!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions