Skip to content

ValueError: Only provide the shape OR batch_input_shape argument to Input, not both at the same time. #64

Description

@mullerhai

keras 2.4.3
tensorflow 2.3.1

when I want to run train.py ,get the error from here

error log
/Users/apple/opt/anaconda3/envs/mullerenv/bin/python /Users/apple/Documents/codezoom/keras-gcn/kegra/train.py
Loading cora dataset...
Dataset has 2708 nodes, 5429 edges, 1433 features.
Using Chebyshev polynomial basis filters...
Calculating largest eigenvalue of normalized graph Laplacian...
Calculating Chebyshev polynomials up to order 2...
Traceback (most recent call last):
File "/Users/apple/Documents/codezoom/keras-gcn/kegra/train.py", line 44, in
G = [Input(shape=(None, None), batch_shape=(None, None), sparse=True) for _ in range(support)]
File "/Users/apple/Documents/codezoom/keras-gcn/kegra/train.py", line 44, in
G = [Input(shape=(None, None), batch_shape=(None, None), sparse=True) for _ in range(support)]
File "/Users/apple/opt/anaconda3/envs/mullerenv/lib/python3.6/site-packages/tensorflow/python/keras/engine/input_layer.py", line 295, in Input
raise ValueError('Only provide the shape OR batch_input_shape argument '
ValueError: Only provide the shape OR batch_input_shape argument to Input, not both at the same time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions