{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"# !pip install numpy==1.21.0\n# !pip install scikit-image==0.18.1\n# !pip install pandas==1.2.5\n# !pip install tensorflow-gpu==2.2.0\n# !pip install ipython==7.24.1\n# !pip install pydicom==2.1.2\n# !pip install pylibjpeg==1.3.0 pylibjpeg-libjpeg==1.2.0\n# !pip install gdcm\n\n!pip3 install numpy\n# !pip3 install pycocotools==2.0.0\n!pip3 install scikit-image\n!pip3 install pandas\n!pip3 install tensorflow-gpu\n!pip3 install ipython\n!pip3 install pydicom\n!pip3 install pylibjpeg pylibjpeg-libjpeg\n!pip3 install gdcm\n","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2021-06-24T19:53:19.749390Z","iopub.execute_input":"2021-06-24T19:53:19.749757Z","iopub.status.idle":"2021-06-24T19:54:07.677523Z","shell.execute_reply.started":"2021-06-24T19:53:19.749724Z","shell.execute_reply":"2021-06-24T19:54:07.676431Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"import sys  \nsys.path.insert(0, '/kaggle/input/cnnmodel/montagem/codigo/')\nfrom pred_MaskRCNN import *","metadata":{"execution":{"iopub.status.busy":"2021-06-24T19:54:28.666498Z","iopub.execute_input":"2021-06-24T19:54:28.666869Z","iopub.status.idle":"2021-06-24T19:54:28.671513Z","shell.execute_reply.started":"2021-06-24T19:54:28.666835Z","shell.execute_reply":"2021-06-24T19:54:28.670601Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"\n## test with test set\n#path_open_dicom = \"../input/siim-covid19-detection/test/\"\n\n## test with train set\n#path_open_dicom = \"../input/siim-covid19-detection/train/\"\n\n## test with samples set\npath_open_dicom = \"../input/cnnmodel/montagem/data_dicom/\"\n\npath_open_model = \"/kaggle/input/cnnmodel/montagem/pesos_mrcnn/\"\n\nexecute(path_open_dicom, path_open_model)\n","metadata":{"execution":{"iopub.status.busy":"2021-06-24T19:54:31.435090Z","iopub.execute_input":"2021-06-24T19:54:31.435480Z","iopub.status.idle":"2021-06-24T19:55:00.376352Z","shell.execute_reply.started":"2021-06-24T19:54:31.435423Z","shell.execute_reply":"2021-06-24T19:55:00.375526Z"},"trusted":true},"execution_count":null,"outputs":[]}]}