Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing 'Detector' attribute #5

Open
Stanley-Michael opened this issue Sep 27, 2022 · 0 comments
Open

Missing 'Detector' attribute #5

Stanley-Michael opened this issue Sep 27, 2022 · 0 comments

Comments

@Stanley-Michael
Copy link

Stanley-Michael commented Sep 27, 2022

Specs:

Tesla T4
CUDA Version 11.6
Driver Version: 510.47.03
Client: Docker Engine - Community
Version: 20.10.17
API version: 1.41

Steps done:

Pull docker file:
docker pull cvisionai/openem_lite:latest

Launch the docker env:
nvidia-docker run --name openem --rm -ti --shm-size=1g --ulimit memlock=-1 --ulimit stack=67108864 -v /project/:/project -v /data:/data cvisionai/openem_lite bash

cd to openem/train

python3 train.py train.ini find_ruler_predict

Extracting ROIs ***

python train.py train.ini extract_rois

Issue: 
  File "/project/openem/train/openem_train/preprocess.py", line 166, in _extract_roi
  img = openem.Image()
  AttributeError: module 'openem' has no attribute 'Image'

Inferece - Detection

python3 train.py train.ini detect_predict

Issue: 
AttributeError: module 'openem' has no attribute 'Detector'

Both the extraction of ROI's and the Detection fail.

I am using the pretrained models included in the tutorial, and using the docker image with a python virtual env for installing the deployment library (from deploy_python).

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

No branches or pull requests

1 participant