Skip to content

How to get it to work on windows? #17

@simonmb

Description

@simonmb

I am running on windows. I followed the instructions for installation:

git clone https://github.com/DS4SD/MolGrapher.git
conda create -n molgrapher python=3.11
conda activate molgrapher
cd MolGrapher
pip install -e .["cpu"]

However, when I run:

from molgrapher.models.molgrapher_model import MolgrapherModel

model = MolgrapherModel()
images_or_paths = ["./data/benchmarks/default/images/image_0.png"] 
annotations = model.predict_batch(images_or_paths) 

I get the error:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions