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

Not able to generate thedata using sample.csv #26

Open
nithinb opened this issue Jul 1, 2020 · 3 comments
Open

Not able to generate thedata using sample.csv #26

nithinb opened this issue Jul 1, 2020 · 3 comments

Comments

@nithinb
Copy link

nithinb commented Jul 1, 2020

Earlier when I used to run the following command (python3 srcnn/generate_data.py samples/sample.csv) it used the process the data as desired and the entire code used to work without an issue. But currently I get the following error and I am not sure if this is a bug or something that I messed up

python3 srcnn/generate_data.py samples/sample.csv
Traceback (most recent call last):
File "srcnn/generate_data.py", line 28, in
from srcnn.utils import *
ModuleNotFoundError: No module named 'srcnn'

Kindly advice. And thanks in advance 😄

@rishikesan-vunet
Copy link

Earlier when I used to run the following command (python3 srcnn/generate_data.py samples/sample.csv) it used the process the data as desired and the entire code used to work without an issue. But currently I get the following error and I am not sure if this is a bug or something that I messed up

python3 srcnn/generate_data.py samples/sample.csv
Traceback (most recent call last):
File "srcnn/generate_data.py", line 28, in
from srcnn.utils import *
ModuleNotFoundError: No module named 'srcnn'

Kindly advice. And thanks in advance

I am getting the same error. How to solve this?

@seaman1900
Copy link

you should append this code before from srcnn.utils import *
import sys
sys.path.append('../')

@aquirin-te
Copy link

See here: #29

Then, it seems the CSV should be in a subfolder, ie, instead of samples/sample.csv, it should be here : samples/sample/sample.csv

Then it is possible to run: python3 srcnn/generate_data.py anomalydetector.git/samples

@aquirin-te aquirin-te mentioned this issue Oct 23, 2023
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