MSKCC-Computational-Pathology / MIL-nature-medicine-2019

342 stars 104 forks source link

Permission Error #17

Open naveenagorre opened 2 years ago

naveenagorre commented 2 years ago

Hi GabriCampanella, I'm working on running the MIL_train.py script on the WSI images from PANDA challenge Kaggle dataset. Convergence.csv file is created but it is unable to pickle the information onto it. Errors are: 1)File "C:\Users\4472829\AppData\Local\Programs\Python\Python37\lib\multiprocessing\reduction.py", line 60, in dump ForkingPickler(file, protocol).dump(obj) ValueError: ctypes objects containing pointers cannot be pickled 2)File "C:\Users\4472829\AppData\Local\Programs\Python\Python37\lib\multiprocessing\reduction.py", line 87, in steal_handle _winapi.DUPLICATE_SAME_ACCESS | _winapi.DUPLICATE_CLOSE_SOURCE) PermissionError: [WinError 5] Access is denied.

Note: I'm running the program as administrator and I do have admin rights on the PC I'm running.

Specifications: OS - Windows IDE - Pycharm with Python 3.7.7.

I came across few solutions stating that this is a bug in windows and Linux, please let me know if there is any alternative other than running it on Linux.

Thanks is advance.