Giter VIP home page Giter VIP logo

Comments (7)

xincoder avatar xincoder commented on August 22, 2024 1

Hi @lylyjy , thank you for your interest in our work. Please check your data_process.py, you should correct <data_root> [line 8] so that "prediction_train/.txt" and "prediction_test/.txt" are located in your <data_root> [line 185-186].

It doesn't work. The problem is it always outputs (0,).
In your computer, is it work?

Yes. It works on my side. The code should work, many researchers have already successfully run it. I tested the code on macOS and Ubuntu with python3.6 (it should also work for other python versions). Please check your python environment and downloaded data. (Download data from the ApolloScape website -> unzip the data -> modify the <data_root> accordingly and run the code. No extra operations are needed.) You should see the following output:
> Generating Training Data.
> (5010, 11, 12, 120) (5010, 120, 120) (5010, 2)
> Generating Testing Data.
> (415, 11, 6, 120) (415, 120, 120) (415, 2)

from grip.

xincoder avatar xincoder commented on August 22, 2024

Hi @lylyjy , thank you for your interest in our work. Please check your data_process.py, you should correct <data_root> [line 8] so that "prediction_train/.txt" and "prediction_test/.txt" are located in your <data_root> [line 185-186].

from grip.

lylyjy avatar lylyjy commented on August 22, 2024

Hi @lylyjy , thank you for your interest in our work. Please check your data_process.py, you should correct <data_root> [line 8] so that "prediction_train/.txt" and "prediction_test/.txt" are located in your <data_root> [line 185-186].

It doesn't work. The problem is it always outputs (0,).
In your computer, is it work?

from grip.

lylyjy avatar lylyjy commented on August 22, 2024
I have a question:  the problem occurs in the following code.

train_file_path_list = sorted(glob.glob(os.path.join(data_root, 'prediction_train/.txt')))
test_file_path_list = sorted(glob.glob(os.path.join(data_root, 'prediction_test/
.txt')))

train_file_path_list is empty.
I need to replace * with the true document name?
Thanks.

from grip.

xincoder avatar xincoder commented on August 22, 2024

@lylyjy no, you do not need to do such a modification. "*" means any character (or string) here. Please refer to the glob official document for more information. Thanks.

from grip.

Hdjdnsj avatar Hdjdnsj commented on August 22, 2024

I have a question here: the "trajectory" dataset in Apollo website has three different types such as Sample Data, Training Data and Testing Data . Which should I download? I am a rookie in this filed, I dont know how to modify the 'data root' if I download the Dataset in my location . It will be my pleasure if you can help me. Thanks. And my email adress is [email protected] . You can send me too if in your convenience.

from grip.

Hdjdnsj avatar Hdjdnsj commented on August 22, 2024

When I run data_process.py, it says:

Generating Training Data. (0,) (0,) (0,) Generating Testing Data. (0,) (0,) (0,)

I don't know the reason.

你会了吗请问?我也有同样的问题,可以跟您联系一下吗?我的qq是1846389418,十分感谢

from grip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.