femr
healthcare
medical

config.json missing

#1
by frazierhuo - opened

OSError: StanfordShahLab/motor-t-base does not appear to have a file named config.json. Checkout 'https://huggingface.co/StanfordShahLab/motor-t-base/tree/main' for available files.

Is the repo missing config.json or am I missing something? This is from indicating model path as "StanfordShahLab/motor-t-base"

@frazierhuo How did you even get that error message?

Did you run through https://github.com/som-shahlab/motor_tutorial

When running this line: https://github.com/som-shahlab/inspect_private/blob/a61f889987b428662432ccbc8a82765541344435/tutorial/Count_Featurization_CLMBR_MOTOR.py#L352

Yes I tried the tutorial. The femr[models] and femr_cuda[models] are nowhere to be installed?

Stanford Shah Lab org

@frazierhuo @lalaland1125 Can we close this issue as resolved?

This is a bit of a mess. This is a femr V1 model but Frazier appears to be trying to use the femr v2 API. I think it makes sense to close this and have Frazier's code use the femr v1 API for maximum compatibility.

This comment has been hidden

I think I figured out Frazier's problem with running the tutorial. I didn't specify that the tutorial can only currently run in Python 3.11 and lower due to package requirements. That is now documented.

My apologies Frazier for the confusion!

frazierhuo changed discussion status to closed

Sign up or log in to comment