Closed la122 closed 3 years ago
Hi I changed the SQL queries so that they don't rely on a schema that you might not have (in this case mimic3_mrosnati) and fixed many errors. The code should now run with Python 3.8.5, TensorFlow 2.3.0
PS: I haven't updated the readme yet, but you'll have to pass on a string with your postgres login, eg:
"dbname=mimic user=postgres password=postgres host=localhost options=--search_path=mimiciii"
Hi, thank you for the reply and the fixes. I tried it again. Now I am getting some other errors:
FileNotFoundError: [Errno 2] No such file or directory: '/cluster/home/mrosnat/MGP-AttTCN/data/interim/19-06-12-detailed-case-labels.csv'
added -p .
when starting preprocessing
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'logs/20210312-175605'
created logs
folder in project root
Traceback (most recent call last):
File ".\src\mains\main.py", line 172, in
Any idea, how to fix the last one?
Problem 3 seems to be fixed now too but I'm not sure why. I pulled your last changes in the extra_exp branch, reinstalled the requirements and repeated the preprocessing step.
python scr/data_processing/main.py [-h] -u SQLUSER -pw SQLPASS -ht HOST -db DBNAME -r SCHEMA_READ_NAME [-w SCHEMA_WRITE_NAME] 会报错usage: main.py [-h] [-c CONNECT_KEY] [-p PATH] main.py: error: argument -h/--help: ignored explicit argument 't'
Hello,
I think there are some bugs in this repository. I managed to run the project only after changing some code, but still get the error: Relation "mimic3_mrosnati.echodata« does not exist"
Which operating system and python version do you use?