aimagelab / meshed-memory-transformer

Meshed-Memory Transformer for Image Captioning. CVPR 2020
BSD 3-Clause "New" or "Revised" License
518 stars 136 forks source link

FileNotFoundError: [WinError 2] The system could not find the specified file #69

Open z972778371 opened 3 years ago

z972778371 commented 3 years ago

It seems that there are some files missed in the working environment m2release of my computer.But I downloaded the annotations.zip and the coco_detections.hdf5(53.5GB) noted in the Readme file.What did I miss? image

amazingYX commented 3 years ago

What kind of operating system do you use?windows or linux?

z972778371 commented 3 years ago

What kind of operating system do you use?windows or linux?

windows10 I solve this problem,but I find there's something wrong with evaluation folder's code 138787311-d367ed17-d887-499e-a647-843b2386b2e1 .Have you ever met this problem before?

amazingYX commented 3 years ago

Yes, I meet the same problem. At first I thought it was the difference between windows10 and linux that caused this problem. Fortunately, I overcome this problem by adding absolute path in tokenizer.py .

z972778371 commented 3 years ago

Yes, I meet the same problem. At first I thought it was the difference between windows10 and linux that caused this problem. Fortunately, I overcome this problem by adding absolute path in tokenizer.py .

Is the path_to_jar_dirname variable ? image

amazingYX commented 3 years ago

just like this image

amazingYX commented 3 years ago

Have you ever reproduce DLCT's code successfully?

z972778371 commented 3 years ago

Have you ever reproduce DLCT's code successfully?

Not yet. I find the reason for OSError :[Error 22]it's that the command, java -jar -Xmx2G meteor-1.5.jar - - -stdio -l en -norm, can't work right in win. So I blocked the meteor() in init.py and it's finally worked. Now I'm going to debug the DLCT's code. 囧

amazingYX commented 2 years ago

Have you ever reproduce DLCT's code successfully?

Not yet. I find the reason for OSError :[Error 22]it's that the command, java -jar -Xmx2G meteor-1.5.jar - - -stdio -l en -norm, can't work right in win. So I blocked the meteor() in init.py and it's finally worked. Now I'm going to debug the DLCT's code. 囧

When using it's Spice() to compute spice score in meshed-memory transformer , I am getting this error, subprocess.CalledProcessError: Command returned non-zero exit status 1. Have you ever met and solved this problem?

ccccchenllll commented 1 year ago

HELLO, I have changed the code to what you said, but there are still errors. Could u explain in detail how to change it, please? image