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

Add dtypes to CSV reading code #5

Open
tommylau-exe opened this issue Jul 9, 2020 · 0 comments
Open

Add dtypes to CSV reading code #5

tommylau-exe opened this issue Jul 9, 2020 · 0 comments
Labels
bug Something isn't working ml model Issues relating to the Amaranth ML Model

Comments

@tommylau-exe
Copy link
Collaborator

Expected Behavior

CSV reading code tells Tensorflow what datatypes to expect for each column of every CSV file.

Actual Behavior

CSV reading code doesn't provide this information to Tensorflow, resulting in a slowdown for CSV reading code and unnecessary memory usage.

Steps to Reproduce the Problem

  1. Switch branch to model-dev
  2. Run ml/main.py
  3. Observe warning sys:1: DtypeWarning: Columns (9) have mixed types.Specify dtype option on import or set low_memory=False.
@tommylau-exe tommylau-exe added the bug Something isn't working label Jul 9, 2020
@tommylau-exe tommylau-exe self-assigned this Jul 9, 2020
@tommylau-exe tommylau-exe removed their assignment Aug 5, 2020
@tommylau-exe tommylau-exe added the ml model Issues relating to the Amaranth ML Model label Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ml model Issues relating to the Amaranth ML Model
Projects
None yet
Development

No branches or pull requests

1 participant