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

No rel-freq.txt saved after running pattern_miner.py #8

Open
stayones opened this issue Aug 20, 2023 · 3 comments
Open

No rel-freq.txt saved after running pattern_miner.py #8

stayones opened this issue Aug 20, 2023 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@stayones
Copy link

  1. Data file used: clothing_populated.csv
  2. Package difference: StandfordCoreNLP-4.5.4
  3. Script running: bash scripts/run_mining.sh

Hi I encountered the error:

Traceback (most recent call last): File "../FolkScope/src/pattern/pattern_merge.py", line 28, in <module> for pattern, cnt in zip( ValueError: not enough values to unpack (expected 2, got 1)

After looking at it, I think this issue is caused because for the relation that have some patterns mined, the rel-freq.txt files are empty. And it's always:
0 patterns after removing redundancies
image

@ccclyu
Copy link
Collaborator

ccclyu commented Aug 26, 2023

@seanliu96 Can you help with this question~

@ccclyu ccclyu added the question Further information is requested label Aug 26, 2023
@seanliu96
Copy link
Collaborator

Please try to change the corenlp version to the provided one (v 4.4.0) again because we do not test the latest version.

@stayones
Copy link
Author

Hi I have changed the corenlp version to v 4.4.0. But still no frequencies saved. Also when I'm running the run_mining.sh, I have encountered an error about

pattern_miner.py: error: unrecognized arguments: --processed_file_name

After I checked the pattern_miner.py, I changed in the bash script from --processed_file_name this to the --processed_file_dir I hope this result is not coming from this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants