Skip to content

Commit

Permalink
Fix vision.h import not found
Browse files Browse the repository at this point in the history
  • Loading branch information
guigarfr committed Aug 11, 2021
1 parent 0eb8ee0 commit 9a76a97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@


def get_extensions():
extensions_dir = os.path.join("fcos_core", "csrc")
extensions_dir = os.path.abspath(
os.path.join(os.path.dirname(__file__), "fcos_core", "csrc"))

main_file = glob.glob(os.path.join(extensions_dir, "*.cpp"))
source_cpu = glob.glob(os.path.join(extensions_dir, "cpu", "*.cpp"))
Expand Down

0 comments on commit 9a76a97

Please sign in to comment.