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

Error when running main.py with Python3 on Mac (all dependencies sorted) #14

Open
KungFuPandey opened this issue Aug 17, 2018 · 0 comments

Comments

@KungFuPandey
Copy link

KungFuPandey commented Aug 17, 2018

When running on mac with all dependencies sorted, I am getting the below error :

It seems stemming is done and its unable to find a file in output folder

Stemming documents in parallel.
Processed doc 0
Stemming documents in parallel.
Processed doc 0
Data Processing Started
Generating class indices and docs names list.
Traceback (most recent call last):
  File "/Users/KFP/PycharmProjects/deep-belief-nets-for-topic-modeling-master/main.py", line 200, in <module>
    run_examples()
  File "/Users/KFP/PycharmProjects/deep-belief-nets-for-topic-modeling-master/main.py", line 194, in run_examples
    example1()
  File "/Users/KFP/PycharmProjects/deep-belief-nets-for-topic-modeling-master/main.py", line 55, in example1
    trainingset_attributes=data_processing.get_attributes())
  File "/Users/KFP/PycharmProjects/deep-belief-nets-for-topic-modeling-master/DataPreparation/data_processing.py", line 437, in get_attributes
Arranging the documents.
    return s.load(open(env_paths.get_attributes_path(training), "rb"))
Number of documents must be greater than batchsize. Please revise the batchsize.
Dataprocessing ended with an error.
FileNotFoundError: [Errno 2] No such file or directory: 'output/train/BOWs/attributes.p'

Process finished with exit code 1

When i checked the OUTPUT/TRAIN/BOW folder, it is currently empty.

can you help @larsmaaloee ?

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