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

Data structure and usage without a dongle #10

Open
bp96 opened this issue Oct 15, 2019 · 0 comments
Open

Data structure and usage without a dongle #10

bp96 opened this issue Oct 15, 2019 · 0 comments

Comments

@bp96
Copy link

bp96 commented Oct 15, 2019

Hi,
I am new to this but was wondering if you could tell me a little bit more about what the structure of the numpy files is for the training data (is it the phase of the signals, or just their frequencies?).

Also, I am trying to run the train_keras code using the numpy files already provided to test out the frequencies at the bottom of the code (without having a rtl-sdr dongle present and on Ubuntu 18.04). Is this possible to do since I seem to get the following error:

Traceback (most recent call last):
  File "/home/usr/cnn-rtlsdr-master/train_keras.py", line 83, in <module>
    sdr = RtlSdr()

  File "/home/usr/env/test/lib/python3.6/site-packages/rtlsdr/rtlsdr.py", line 133, in __init__
    self.open(device_index, test_mode_enabled, serial_number)

  File "/home/usr/env/test/lib/python3.6/site-packages/rtlsdr/rtlsdr.py", line 172, in open
    % (result, device_index))

OSError: Error code -1 when opening SDR (device index = 0)
[Finished in 12.6s with exit code 1]
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

1 participant