Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

caffe2 missing? #26

Open
victormurcia opened this issue Feb 27, 2023 · 1 comment
Open

caffe2 missing? #26

victormurcia opened this issue Feb 27, 2023 · 1 comment

Comments

@victormurcia
Copy link

I was wondering if anyone has had any luck installing/setting up the Clinical Trial Parser recently? I keep running into an error stating that caffe2 cannot be found when trying to run the ie_parse.sh file as described in the developer notes...

I've tried various ways of trying to set things up, including using different CUDA versions, Python versions, GPU/CPU versions of Pytorch, different OS (Windows/Ubuntu) and others but still haven't been successful.

Any suggestions or potential solutions?

@ryota3915
Copy link

Encountered same error, and solved by installing torch and torchtext in the following version.

$ pip install -U torch==1.4
$ pip install -U torchtext==0.5

The issue might have been that $ pip install torchtext installs torchtext=0.14; thus, installs torch=1.13.0 as well. Coffee2 module which is refered in the source code is out in the recent torch version.

Hope this helps you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants