Open koseoyoung opened 1 year ago
Previously it has such error:
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[Unable to show a serialized python object.]]
The root cause of this issue is that np.save
requires np data type, which is str
when we save the generated cat file into the disk. I fixed it through this PR. #19
After this fix:
[['Spain', '1', '1', '0'],
['Germany', '0', '1', '0'],
['Germany', '0', '1', '0'],
['Germany', '1', '1', '0'],
['Germany', '1', '0', '0'],
['Spain', '0', '1', '1'],
['Spain', '1', '0', '0'],
['Germany', '0', '1', '1'],
['Spain', '0', '1', '0'],
['Spain', '1', '1', '0'],
['Spain', '1', '1', '0'],
['France', '1', '0', '0'],
['Germany', '1', '1', '0'],
['Germany', '0', '1', '0'],
['Spain', '0', '0', '1'],
['France', '1', '0', '0'],
['France', '0', '1', '1'],
['Spain', '1', '1', '0'],
['Spain', '1', '1', '0'],
['France', '0', '0', '1'],
['France', '0', '1', '0'],
['Spain', '0', '1', '0'],
['Germany', '0', '1', '0'],
Hello, could you tell me the detiles of your solution? Thank you so much!
(tddpm) D:\Study\code\tab-ddpm-main>wget "https://www.dropbox.com/s/rpckvcs3vx7j605/data.tar?dl=0" -O data.tar --2024-09-25 21:30:54-- https://www.dropbox.com/s/rpckvcs3vx7j605/data.tar?dl=0 Resolving www.dropbox.com (www.dropbox.com)... 103.228.130.61, 2a03:2880:f10d:83:face:b00c:0:25de Connecting to www.dropbox.com (www.dropbox.com)|103.228.130.61|:443%7C103.228.130.61%7C:443/)... failed: Unknown error. Connecting to www.dropbox.com (www.dropbox.com)|2a03:2880:f10d:83:face:b00c:0:25de|:443%7C2a03:2880:f10d:83:face:b00c:0:25de%7C:443/)... failed: Bad file descriptor. Have you ever encountered this problem?
Hi, I'm trying to generate the synthetic data by following the README. The training works well, and I'm able to find the numerical generated values, but I can't get the categorical generated values. In detail,
exp/churn2/ddpm_mlp_best/X_cat_train.npy
is empty. On the other hand, I can see the values inexp/churn2/ddpm_mlp_best/X_num_train.npy
. Is this a bug, or am I missing anything? Thanks!