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

Tensorflow error on windows #155

Open
teubert opened this issue Jul 30, 2024 · 0 comments
Open

Tensorflow error on windows #155

teubert opened this issue Jul 30, 2024 · 0 comments
Labels
bug Something isn't working components: data model project: SWS System Wide Safety Project

Comments

@teubert
Copy link
Contributor

teubert commented Jul 30, 2024

Seems to mostly be working, but I do get this error on (I think) all of the tensorflow tests:

======================================================================
ERROR: test_lstm_simple (tests.test_data_model.TestDataModel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jason/code/nasa/progpy/tests/test_data_model.py", line 127, in test_lstm_simple
    m = self._test_simple_case(LSTMStateTransitionModel, window=5, epochs=20, max_error=3)
  File "/home/jason/code/nasa/progpy/tests/test_data_model.py", line 48, in _test_simple_case
    m2 = DataModelType.from_data(
  File "/home/jason/code/nasa/progpy/src/progpy/data_models/lstm_model.py", line 598, in from_data
    history = model.fit(
  File "/home/jason/code/nasa/progpy_venv/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 122, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "/home/jason/code/nasa/progpy_venv/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 117, in error_handler
    return fn(*args, **kwargs)
TypeError: TensorFlowTrainer.fit() got an unexpected keyword argument 'workers'

Could be related to the fact that I am running this in Windows WSL?

Originally posted by @jason-watkins in #154 (comment)

@teubert teubert added bug Something isn't working components: data model project: SWS System Wide Safety Project labels Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working components: data model project: SWS System Wide Safety Project
Projects
None yet
Development

No branches or pull requests

1 participant