Skip to content

Commit

Permalink
debugging segementation fault
Browse files Browse the repository at this point in the history
  • Loading branch information
LckyLke committed Dec 6, 2024
1 parent 0140072 commit 66334f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
wget https://files.dice-research.org/projects/Ontolearn/KGs.zip
unzip KGs.zip
pip install scikit-learn
python -m pytest -p no:warnings -x
python -X faulthandler -m pytest -p no:warnings -x
- name: Coverage report
run: |
Expand Down
4 changes: 2 additions & 2 deletions tests/test_neural_reasoner_accuracy.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ def test_retrieval_performance():

# (2) Initialize Neural OWL Reasoner.
if path_kge_model:
neural_owl_reasoner = OWLNeuralReasoner(path_neural_embedding=path_kge_model, gamma=gamma, max_cache_size=0)
neural_owl_reasoner = OWLNeuralReasoner(path_neural_embedding=path_kge_model, gamma=gamma)
else:
neural_owl_reasoner = OWLNeuralReasoner(path_of_kb=path_kg, gamma=gamma, max_cache_size=0)
neural_owl_reasoner = OWLNeuralReasoner(path_of_kb=path_kg, gamma=gamma)

# Fix the random seed.
random.seed(seed)
Expand Down

0 comments on commit 66334f5

Please sign in to comment.