Open 18639001046 opened 2 months ago
Hello, I would like to ask how your final_test.npy was generated? Is it generated by the csv2npy.py code in the path 'data/' in the project?
Hello, I would like to ask how your final_test.npy was generated? Is it generated by the csv2npy.py code in the path 'data/' in the project?
@suremangood I found out that the encoding of the test data is slightly different (has 2 features more). Solved it by copying csv2npy.py and adjusting it a little bit for test data:
In line 10 add features 'tid' and 'count' to the list:
x = [[] for i in ['lat_lon', 'day', 'hour', 'category', 'mask', 'tid', 'count']]
After line 23 add
x[5].append(tid)
x[6].append(traj.tid.count())
谢谢
---- Replied Message ---- | From | @.> | | Date | 10/27/2024 00:11 | | To | @.> | | Cc | @.>@.> | | Subject | Re: [GeoDS/LSTM-TrajGAN] How did that syn_best come about (Issue #5) |
I found out that the encoding of the test data is slightly different (has 2 features more). Solved it by copying csv2npy.py and adjusting it a little bit for test data:
In line 10 add features 'tid' and 'count' to the list: x = [[] for i in ['lat_lon', 'day', 'hour', 'category', 'mask', 'tid', 'count']]
After line 23 add
x[5].append(tid)
x[6].append(traj.tid.count())
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
How did that syn_best come about。