I used the concept list in my model as follows : person_concepts = pd.read_csv("/concept_codes_final/person_concepts.csv", dtype=str).
What should be the file path of concept list ?
**log training error:**
Traceback (most recent call last):
File "/app/train.py", line 737, in
op.create_age_group()
File "/app/train.py", line 144, in create_age_group
person = self.process_person()
File "/app/train.py", line 125, in process_person
person_concepts = pd.read_csv("/concept_codes_final/person_concepts.csv", dtype=str)
File "/usr/local/lib/python3.5/site-packages/pandas/io/parsers.py", line 685, in parser_f
return _read(filepath_or_buffer, kwds)
File "/usr/local/lib/python3.5/site-packages/pandas/io/parsers.py", line 457, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "/usr/local/lib/python3.5/site-packages/pandas/io/parsers.py", line 895, in __init__
self._make_engine(self.engine)
File "/usr/local/lib/python3.5/site-packages/pandas/io/parsers.py", line 1135, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/usr/local/lib/python3.5/site-packages/pandas/io/parsers.py", line 1917, in __init__
self._reader = parsers.TextReader(src, **kwds)
File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__
File "pandas/_libs/parsers.pyx", line 689, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] File b'/concept_codes_final/person_concepts.csv' does not exist: b'/concept_codes_final/person_concepts.csv'
Created by Ibrahim Roshan K roshkjr Hi @roshkjr,
We don't make the concept lists available on the UW server. You can include them in your docker model by copying them in when you build your image.
`COPY /path/to/concept_listcsv .`
Thanks!
Tim
Drop files to upload
Workflow failed due to concept list page is loading…