Yashkataria / CGAN-for-time-series

41 stars 7 forks source link

Questions about generating data #1

Open freya-7 opened 2 years ago

freya-7 commented 2 years ago

Hi, I would like to ask how to generate data for a particular tag. Do I go through the network and generate each type of data separately? Because I noticed that the generated output data does not have a label. For example, if I change the code as follows, will I be able to generate data of label ”elastic_crosssection”?That is, comment out the other type inputs.Thank you for your attention. in codel of wgan1 elastic_crosssection = np.array(elastic_crosssection) Delete "ionization_crosssection = np.array(ionization_crosssection)" Delete "excitation_crosssection = np.array(excitation_crosssection)" change "crosssection_data = np.stack([elastic_crosssection,ionization_crosssection,excitation_crosssection], axis=2)" to "crosssection_data = np.stack([elastic_crosssection], axis=2)"

NibofWar commented 1 year ago

@freya-7 Hi, did you solve this problem? I met the same error here.