You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to know something about the format of the input trajectories as they are provided directly within the .txt files. Is any kind of coordinate preprocessing performed when generating those files? Specifically, is there any scaling applied to ensure reasonably similar scales across different datasets?
I have plotted the coordinates for some of the extracted .txt files (from within the preprocessed eth_ucy files).
From the looks of it, the coordinate system seems to be expressed in meters. No centering is performed here. I do recognise that this is unnecessary as this is eventually done in the set_data method of the dataloader anyway:
The reason why I would like to know if you follow any standard practice when it comes to scaling the data is because I would like to apply the model to another dataset, which makes use of pixels as units in their coordinate system, instead of meters.
From my current understanding, there's no need to apply any kind of coordinate scaling here. The model will simply adapt its weights to account for a more widely or narrowly "stretched" version of the input data. However, I also found that the preprocessor does apply some kind of scaling on the input trajectory data:
Is anything required from me in terms of setting this scaling factor properly with respect to the dataset I intend to use? Why is this scaling factor used here?
Thank you very much for your time and your work on the AgentFormer model!
The text was updated successfully, but these errors were encountered:
Hey,
I would like to know something about the format of the input trajectories as they are provided directly within the
.txt
files. Is any kind of coordinate preprocessing performed when generating those files? Specifically, is there any scaling applied to ensure reasonably similar scales across different datasets?I have plotted the coordinates for some of the extracted
.txt
files (from within the preprocessedeth_ucy
files).From the looks of it, the coordinate system seems to be expressed in meters. No centering is performed here. I do recognise that this is unnecessary as this is eventually done in the
set_data
method of the dataloader anyway:AgentFormer/model/agentformer.py
Lines 523 to 526 in e4fe8dd
The reason why I would like to know if you follow any standard practice when it comes to scaling the data is because I would like to apply the model to another dataset, which makes use of pixels as units in their coordinate system, instead of meters.
From my current understanding, there's no need to apply any kind of coordinate scaling here. The model will simply adapt its weights to account for a more widely or narrowly "stretched" version of the input data. However, I also found that the preprocessor does apply some kind of scaling on the input trajectory data:
AgentFormer/data/preprocessor.py
Line 124 in e4fe8dd
AgentFormer/data/preprocessor.py
Line 144 in e4fe8dd
Is anything required from me in terms of setting this scaling factor properly with respect to the dataset I intend to use? Why is this scaling factor used here?
Thank you very much for your time and your work on the AgentFormer model!
The text was updated successfully, but these errors were encountered: