jbdel / vilmedic

ViLMedic (Vision-and-Language medical research) is a modular framework for vision and language multimodal research in the medical field
MIT License
161 stars 20 forks source link

Encounter error in get_chexbert_label.py #22

Closed yuanpinz closed 5 months ago

yuanpinz commented 5 months ago

$ python get_chexbert_label.py SELFUP/mimic-cxr/train.report.tok Traceback (most recent call last): File "get_chexbert_label.py", line 6, in from vilmedic.blocks.scorers import CheXbert File "/vilmedic/vilmedic/init.py", line 13, in from .zoo.modeling_auto import AutoModel File "/vilmedic/vilmedic/zoo/modeling_auto.py", line 11, in from ..models import * File "/vilmedic/vilmedic/models/init.py", line 9, in from vilmedic.models.rrs.RRS_HF import RRS_HF File "/vilmedic/vilmedic/models/rrs/RRS_HF.py", line 10, in from vilmedic.blocks.huggingface.encoder_decoder.text_evaluation import evaluation File "/vilmedic/vilmedic/blocks/huggingface/encoder_decoder/text_evaluation.py", line 4, in import voxel as vx ModuleNotFoundError: No module named 'voxel'

yuanpinz commented 5 months ago

Solved after installing pyvoxel manually.