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

tutorial issue, tensorflow dimensions, OSX #10

Open
axelsoundingwild opened this issue Jun 26, 2020 · 3 comments
Open

tutorial issue, tensorflow dimensions, OSX #10

axelsoundingwild opened this issue Jun 26, 2020 · 3 comments

Comments

@axelsoundingwild
Copy link

Hi there

I'm still struggling with the Windows installation, so I have moved to my mac OS Catalina.

I do end up having another issue when running:

mod0 %>% fit(X_train, Y_train, batch_size = 32, epochs = 50,

  •          validation_data = list(X_test, Y_test),
    
  •          verbose = 1, callbacks = reduce_lr)
    

Error below:

Error in py_call_impl(callable, dots$args, dots$keywords) :
ValueError: in user code:

/Users/axeldrioli/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py:941 test_function  *
    outputs = self.distribute_strategy.run(
/Users/axeldrioli/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/tensorflow/python/distribute/distribute_lib.py:951 run  **
    return self._extended.call_for_each_replica(fn, args=args, kwargs=kwargs)
/Users/axeldrioli/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/tensorflow/python/distribute/distribute_lib.py:2290 call_for_each_replica
    return self._call_for_each_replica(fn, args, kwargs)
/Users/axeldrioli/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/tensorflow/python/distribute/distribute_lib.py:2649 _call_for_each_replica
    return fn(*args, **kwargs)
/Users/axeldrioli/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/tensorflow/python/keras/e 

It seems to be related to the validation data, as by this other issue, there 'it seems that x_val does not have the same dimensions as partial_x_train.' Any hint on this?

@fabianekfrancois
Copy link

fabianekfrancois commented Jun 29, 2020 via email

@axelsoundingwild
Copy link
Author

axelsoundingwild commented Jun 29, 2020 via email

@fabianekfrancois
Copy link

fabianekfrancois commented Jun 29, 2020 via email

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

2 participants