meshed-memory-transformer icon indicating copy to clipboard operation
meshed-memory-transformer copied to clipboard

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

Open z972778371 opened this issue 2 years ago • 9 comments

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

z972778371 avatar Oct 23 '21 16:10 z972778371

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

amazingYX avatar Nov 05 '21 02:11 amazingYX

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?

z972778371 avatar Nov 06 '21 04:11 z972778371

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 .

amazingYX avatar Nov 06 '21 07:11 amazingYX

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

z972778371 avatar Nov 06 '21 07:11 z972778371

just like this image

amazingYX avatar Nov 07 '21 12:11 amazingYX

Have you ever reproduce DLCT's code successfully?

amazingYX avatar Nov 07 '21 12:11 amazingYX

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. 囧

z972778371 avatar Nov 08 '21 08:11 z972778371

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?

amazingYX avatar Nov 11 '21 02:11 amazingYX

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

ccccchenllll avatar Jan 16 '23 08:01 ccccchenllll