Giter Site home page Giter Site logo

Comments (2)

oentaryorj avatar oentaryorj commented on June 5, 2024

It seems that we also need to manually create data and distance_matrix subfolders. Would be good to handle this in preprocessing.py - e.g., https://www.geeksforgeeks.org/how-to-create-directory-if-it-does-not-exist-using-python/

Nevertheless, after doing the above, I still see this error:

Traceback (most recent call last):
  File "preprocessing.py", line 459, in <module>
    raise Exception('Missing the name of the parquet file (e.g. lmc_route_full_1637316909.parquet) generated by the gen_route action')

from amazon-sagemaker-amazon-routing-challenge-sol.

chenwuperth avatar chenwuperth commented on June 5, 2024

Hi @oentaryorj , thank you very much for reporting the issue. Can you please git pull the latest from the main branch?

I have fixed the file naming issues in the code, so depends on the --mode argument, it will change the file name (in fact sub-directory name) accordingly.
I have also added the auto-creation of sub-folder distance_matrix and zone_list. The sub-folder data is not auto-created only because it is possible the this folder is outside of the git repository (depends where the dataset is downloaded to). So you could use the argument --data_dir to tell the preprocessing script where the train or eval dataset is
The second error was due to the missing parameter --pkfn, and I have added that in the README.md instruction. This file is only generated after you run the python preprocessing.py --act gen_route
Please let me know if you see any other problems. Thanks again for your help.

from amazon-sagemaker-amazon-routing-challenge-sol.

Related Issues (1)

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.