fjxmlzn / DoppelGANger

[IMC 2020 (Best Paper Finalist)] Using GANs for Sharing Networked Time Series Data: Challenges, Initial Promise, and Open Questions
http://arxiv.org/abs/1909.13403
BSD 3-Clause Clear License
296 stars 75 forks source link

unknown output type #45

Closed Murmur0 closed 10 months ago

Murmur0 commented 1 year ago

Hello, thanks for your works which could perfectly satisfy my research request! But I have encountered a minor problem, may in my "data_feature_output.pkl" , because the"worker_generate_data" told me that:

File "D:\Anaconda\pythonProject14\DoppelGANger-TF2\example_generating_data\gan\network.py", line 262, in build raise Exception("unknown output type") Exception: unknown output type

I wonder how to solve it?

My code for writing data_feature_output is following:

image

fjxmlzn commented 1 year ago

Do you have a duplicate output.py file in your folders? It could be that the data and network.py are loading from different output.py files.

Murmur0 commented 1 year ago

No, under "example_generating_data", there is only one "output.py". And is there anything wrong with my codes to write the "data_feature_output"? Actually, at the beginning to write it, Pycharm could not realize the objection "CONTINUOUS" and "ZERO-ONE" at once, so I added the path.

Murmur0 commented 1 year ago

Here are my folds: image

Murmur0 commented 1 year ago

On! It occurs me that I havn't used your training data to see if there is anything wrong, I just ever have used it in"example_trianing", and it could run correctly and product some picutures in examples. But when I use "example_generating_data", I will get faults like this: " Not found ..\results\aux_disc-False,dataset-FCC_MBA,epoch-17000,epoch_checkpoint_freq-70,extra_checkpoint_freq-850,run-2,sample_len-8,self_norm-False,\checkpoint\epoch_id-16999  " And after a few minutes, the program will end.

fjxmlzn commented 1 year ago

Did you run example_training or put the checkpoint in that path before running it? This error says that it cannot find this checkpoint path.

fjxmlzn commented 10 months ago

Close the issue for now since it has been a while. If you still have any problems with it, feel free to reopen the issue.