Skip to content

ModuleNotFoundError: No module named 'neurons' when running benchmark script #79

@rkoranne0755

Description

@rkoranne0755

Hello,

I encountered an issue while running the benchmark_sdxl.py script within the NicheImage project. The error message indicates that the neurons module cannot be found. Below are the details of the issue:

Error Traceback:

Traceback (most recent call last):
File "/home/im3/Desktop/Bittensor/NicheImage/tests/benchmark_sdxl.py", line 1, in
from neurons.validator.validator import initialize_nicheimage_catalogue, Validator
ModuleNotFoundError: No module named 'neurons'

Clone the repository and navigate to the NicheImage directory.
Ensure that the directory structure includes the following:
markdown
Copy code
NicheImage/
├── init.py
├── tests/
│ ├── init.py
│ └── benchmark_sdxl.py
└── neurons/
├── init.py
└── validator/
├── init.py
└── validator.py
Run the benchmark script using the command:
bash
Copy code
python3.10 tests/benchmark_sdxl.py --max_concurrent_requests 12 --n_times 10 --model_name AnimeV3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions