Closed FraLuca closed 2 years ago
Hi @FraLuca Thank you for your interest and your patience, and sorry for the delay of response! I have solved your issues by 1) adding PYTHONPATH instruction to readme file 2) modifying sys.path in tools/train.py and 3) adding costomized trajectron++ dependency to the repo. Please merge with the updated repo and feel free to let me know if this deos not solve your problem!
Hi @MoonBlvd , I am trying to extract the pedestrian trajectory as asked in the README of this repo in the form of pickle files from JAAD and PIE original repos but unable to find proper functions that do the required operations to generate the pedestrian trajectory data. Can you help/guide me on how to extract this data?
Thank you, Sanketh
@sanketh1691 please refer to #13
Hi,
I'm trying to reproduce your experiment and i had some problems.
First of all i create an environment, as suggested by Trajectron++ with all their requirements, and then produced the pickle files to run your code on ETH-UCY.
Then, as you suggested, i create the path: data\ETH_UCY_trajectron\trajectories and i put here the pickles processed by trajectron++. In this way your configuration file (eg. bitrap_np_ETH.yml) matches exactly the data folder.
I run this:
python tools\train.py --config_file configs/bitrap_np_ETH.yml
I'm using Anaconda on Windows 10 system without cuda.Issue 1
I solved this moving the main script "train.py" to its parent folder, where it can see datasets folder. It looks like the row:
sys.path.append(os.path.realpath('..'))
doesn't work.So i'm running this:
python train.py --config_file configs/bitrap_np_ETH.yml
Issue 2
I solved changing the import of:
to:
Issue 3
The problem occurs when i load the pickles with dill module. I solved copy pasting the three folders named: "environment", "model" and "utils" from the Trajectron++ repo (Trajectron-plus-plus\trajectron) to the root folder of your github. Because i think they are missing the modules used to generate the pickles. So it is necessary to reload them.
Issue 4
So i stopped here because it looks like something is still missing. Maybe something you changed from Trajectron++. I saw a similar issue in their github repo, where it is suggested to change the NUM_WORKERS to 0. So i tried switching in the config file DATALOADER.NUM_WORKERS to 0. However it produces a new error:
Thank you for your help in advance, Kind regards and good work. Luca