Browse Source

[FIX] add path in conftest

pull/1/head
Gao Enhao 1 year ago
parent
commit
332f6eeee1
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      tests/conftest.py

+ 4
- 0
tests/conftest.py View File

@@ -2,6 +2,10 @@ import pytest
import torch
import torch.nn as nn
import torch.optim as optim
import os
import sys

sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

from abl.learning import BasicNN
from abl.reasoning import GroundKB, KBBase, PrologKB, Reasoner


Loading…
Cancel
Save