Skip to content

Update installation instructions and make the README more markdowny - #17

Open
habi wants to merge 8 commits into
bwittmann:mainfrom
habi:main
Open

Update installation instructions and make the README more markdowny#17
habi wants to merge 8 commits into
bwittmann:mainfrom
habi:main

Conversation

@habi

@habi habi commented Apr 24, 2026

Copy link
Copy Markdown

With the updated installation instructions and the added init.py file I was able to install vesselFM on my system.

Fixes #16

Copilot AI review requested due to automatic review settings April 24, 2026 09:00
@habi

habi commented Apr 24, 2026

Copy link
Copy Markdown
Author

The more markdowny README is added as bonus.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to resolve Linux installation/import issues (Issue #16) by updating the README installation/run instructions and by adding a package initializer so vesselfm can be installed/imported as a Python package.

Changes:

  • Reworked README.md to use standard Markdown formatting and clearer installation steps (clone + pip install -e .) and inference invocation.
  • Added vesselfm/__init__.py to make vesselfm a package for setuptools discovery.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
vesselfm/__init__.py Marks vesselfm as a package to support installation/import.
README.md Improves Markdown formatting and updates installation + inference run instructions to address Issue #16.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md

Additional information on inference, pre-training, and fine-tuning are available [here](./vesselfm/seg). Checkpoints will be downloaded automatically and are also available on [Hugging Face 🤗](https://huggingface.co/bwittmann/vesselFM).
```bash
python vesselfm/seg/inference.py

Copilot AI Apr 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The README suggests running python vesselfm/seg/inference.py, but the package layout currently won’t install/import vesselfm.seg... with setup.py using find_packages() because vesselfm/seg/ (and vesselfm/seg/utils/) have no __init__.py. After adding vesselfm/__init__.py this becomes a hard import error (No module named 'vesselfm.seg'). Consider (a) adding __init__.py files to the subpackages (seg, seg/utils, etc.) or switching to find_namespace_packages, and (b) documenting python -m vesselfm.seg.inference as the invocation to avoid sys.path issues when running from source.

Suggested change
python vesselfm/seg/inference.py
python -m vesselfm.seg.inference

Copilot uses AI. Check for mistakes.
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

Successfully merging this pull request may close these issues.

Installation fails on Linux Mint

2 participants