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

Can't load the provided data #1

Open
AKheli opened this issue Apr 3, 2021 · 2 comments
Open

Can't load the provided data #1

AKheli opened this issue Apr 3, 2021 · 2 comments

Comments

@AKheli
Copy link

AKheli commented Apr 3, 2021

I am trying to run the generator script, the code referees to the column_23_3072_3072 that exists no where in the dataset.

date=np.loadtxt('./column_23_3072_3072.txt',delimiter=',')

What format should the input file have?

Thanks!

@rainmaple
Copy link
Collaborator

Data generator should run in mode 0 first in order to generate data, which database you prepare to test?

@AKheli
Copy link
Author

AKheli commented Apr 30, 2021

Thanks for your response!

I am not sure what you mean by mode 0. My understanding is that we first need to train the GAN model, generate fragments, then use the random_walk code to generate long time series.

When trying to run the code test_dc,, the input file seems to have to be in a 3072x3072 format:

date = np.loadtxt('./column_23_3072_3072.txt', delimiter=',')
lis = []
for i in range(3072):
    lis.append(date[i].reshape((3, 32, 32))/10)

I am using your dataset GoldWindSensor for example. Which does not have this format. How could I create the fragments? That is, how could I convert the dataset data into the 3072x3072 format?

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