Medical-Image-Captioning-on-Chest-X-rays icon indicating copy to clipboard operation
Medical-Image-Captioning-on-Chest-X-rays copied to clipboard

How to generate pkl file

Open adarsh-dikhit opened this issue 3 years ago • 3 comments

How to generate pkl file ?

adarsh-dikhit avatar Mar 25 '22 10:03 adarsh-dikhit

Did you resolve the issue?

jainnipun11 avatar Jun 07 '22 16:06 jainnipun11

Getting below error, Can you please tell me what is the issue here, thank you @ashishthomaschempolil

df = pd.read_pickle(os.path.join(folder_name,tr_file_name))


FileNotFoundError Traceback (most recent call last) in <cell line: 1>() ----> 1 df = pd.read_pickle(os.path.join(folder_name,tr_file_name))

1 frames /usr/local/lib/python3.9/dist-packages/pandas/io/common.py in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options) 793 else: 794 # Binary mode --> 795 handle = open(handle, ioargs.mode) 796 handles.append(handle) 797

FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/MyDrive/Medical image Reporting/pickle_files/train.pkl'

image

ravis2412 avatar Apr 09 '23 11:04 ravis2412

will you provide pickle files that is accessing in code from your drive link

fatimayousaf874 avatar Jul 06 '23 12:07 fatimayousaf874