Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training Error with different datasets #26

Open
YihaoChan opened this issue Feb 4, 2020 · 9 comments
Open

Training Error with different datasets #26

YihaoChan opened this issue Feb 4, 2020 · 9 comments

Comments

@YihaoChan
Copy link

In utils. Py, if only the file biwi_hotel.txt appears in the training set, the file will be run to train during the training (2,900 pieces of data in total).If you change this file to another file, that is, comment out the file name and change to the name of other TXT files, all the data sets will be trained (a total of 44000 pieces of data).But I still don't see why it should be all training, and only biwi_hotel.txt can train individual files.
image
image
image

@quancore
Copy link
Owner

quancore commented Feb 5, 2020

I have commented on just for testing purposes, you can uncomment without trouble.

@YihaoChan
Copy link
Author

I have commented on just for testing purposes, you can uncomment without trouble.

Please forgive my not replying in time. And thanks for your patient reply!

@YihaoChan
Copy link
Author

I have commented on just for testing purposes, you can uncomment without trouble.

Excuse me, after training, I encountered two more problems so I hope to ask for your help.

(1)When I finished implementing python3 ./vlstm_train.py, and the results are showed as follows. Then I began to implement python3 ./test.py, whose results are showed as follows. So why the mean error and final error reach so extremely small(10^(-9))? Is it caused by my implementation fault?
(2)After running test.py, I began to implement python3 ./visuailize.py, but it turned out to be the error as follows. My configuration environment are:
Ubuntu 18.04; pytorch 0.4.0, cuda 10, GTX 1650, matplotlib 3.1.2. I searched for so long but in vain, so could you please tell me how to tackle it and see correct visualization?

Thanks a lot in advance! Feel sincerely sorry to bother you!
image
image

@quancore
Copy link
Owner

quancore commented Feb 6, 2020

  1. It can be a logical error or something else. Please double-check the code blocks that implement equations in the original paper (in the readme).
  2. install ffmpeg (save animation to mp4 fail  matplotlib/matplotlib#8053).

@YihaoChan
Copy link
Author

1. It can be a logical error or something else. Please double-check the code blocks that implement equations in the original paper (in the readme).

2. install ffmpeg ([matplotlib/matplotlib#8053](https://github.com/matplotlib/matplotlib/issues/8053)).

Please forgive my not replying in time first, cause there was something wrong with my Wi-Fi. Thanks for your suggestion, and I successfully ran visualization.py with installing ffmpeg. HOWEVER, I still could not successfully see the correct results on test.py, which means the ADE and FDE always remained the same, no matter what methods I tried. That is to say, after running train.py, olstm_train.py or vlstm_train.py, I obtained three completely SAME ADEs and FDEs with running test.py, whose errors all reached extremely small... I believe there might be something wrong with the code in test.py, but I haven't find it...
Anyway, thank you very much! And could you please tell me that could you get correct results under your own implementations? Thanks in advance!

@zhanghuishun
Copy link

Hi YihaoChan, I am also working on the social lstm project, can we communicate by email? My email is 345892489@qq.com

@lk-greenbird
Copy link

Hi YihaoChan, I am working on the social lstm project recently. But a TypeError occurs when I run the train.py with python3.5 and pytorch0.1.12 on ubuntu16.04. I want to konw weather the problem dues to the verson of pytorch. Can you tell me your environment which can excute the project successfully.Thank you! My email is 2719031277@qq.com

@YihaoChan
Copy link
Author

Hi YihaoChan, I am working on the social lstm project recently. But a TypeError occurs when I run the train.py with python3.5 and pytorch0.1.12 on ubuntu16.04. I want to konw weather the problem dues to the verson of pytorch. Can you tell me your environment which can excute the project successfully.Thank you! My email is 2719031277@qq.com

I've sent a reply to your qq mail~

@yukiofyume
Copy link

@YihaoChan Hello, I am also trying to learn this project recently. Maybe due to my lack of understanding. I can run through the original project data set. When I used my own data to make a dataset similar to the original project, I encountered some problems. I don't know how to solve it, can I talk to you.Thank you! My email is 853036144@qq.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants