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

running train.py #5

Open
shinigami1992 opened this issue Jan 15, 2019 · 3 comments
Open

running train.py #5

shinigami1992 opened this issue Jan 15, 2019 · 3 comments

Comments

@shinigami1992
Copy link

shinigami1992 commented Jan 15, 2019

I'm facing this error when I try to run 'train.py' with your default train data. (also i didn't change anything in code)
Do you have any idea how for solving this?

Traceback (most recent call last):
  File "blablabla/cnn-rtlsdr-master/train.py", line 145, in <module>
    x_batch, y_true_batch, _, cls_batch = data.train.next_batch(batch_size)
  File "blablabla\cnn-rtlsdr-master\dataset2.py", line 191, in next_batch
    assert batch_size <= self._num_examples
AssertionError

(This error doesn't occur when i use 'train_keras.py'.)

@swiich
Copy link

swiich commented Jan 29, 2019

I'm facing this error when I try to run 'train.py' with your default train data. (also i didn't change anything in code)
Do you have any idea how for solving this?

Traceback (most recent call last):
  File "blablabla/cnn-rtlsdr-master/train.py", line 145, in <module>
    x_batch, y_true_batch, _, cls_batch = data.train.next_batch(batch_size)
  File "blablabla\cnn-rtlsdr-master\dataset2.py", line 191, in next_batch
    assert batch_size <= self._num_examples
AssertionError

(This error doesn't occur when i use 'train_keras.py'.)

the batch_size should be 1 with default train data. It seems depends on the number of examples
you can run prepare_data.py collecting more samples to avoid this error

@saaws2
Copy link

saaws2 commented Jul 16, 2019

Want to ask sorry for post jacking but I don't know any thing about GitHub . The question is. Would 2 AMD RX480 8gb cards allow me to do any thing with this software? It's just the thing I wanted to look into. Again sorry if am in violation of rules .

@randaller
Copy link
Owner

You may do everything even without GPU card, using only CPU for neural network.

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

4 participants