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

Unable to run python script in EEG experiment. #17

Open
NZA276 opened this issue Jul 22, 2024 · 0 comments
Open

Unable to run python script in EEG experiment. #17

NZA276 opened this issue Jul 22, 2024 · 0 comments

Comments

@NZA276
Copy link

NZA276 commented Jul 22, 2024

Hi @mackncheesies,
I'm trying to run the 'eeg_data_implementation_results.ipynb' file in the EEG folder and I'm encountering problem. I get the following error:

ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-33-e77ccc342ad6>](https://localhost:8080/#) in <cell line: 1>()
----> 1 from rancutils.tealearning import ConnectionHistory
      2 
      3 cb = ConnectionHistory([(0, 0), (1, 0), (2, 0)], 'connections/', round_connections = True, make_gif = True)

ModuleNotFoundError: No module named 'rancutils.tealearning'

----> 1 from rancutils.simulator import simulator_conversion
      2 from rancutils.tealearning import create_cores, create_packets
      3 from rancutils.tealearning import tea_weight_initializer
      4 
      5 def output_for_simulator(model, x_test, num_layers, labels, image_shape):

ImportError: cannot import name 'simulator_conversion' from 'rancutils.simulator' (/usr/local/lib/python3.10/dist-packages/rancutils/simulator.py)

Could you please let me know where I can obtain the rancutils.tealearning and rancutils.simulator libraries?

Thank you

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