Closed Xtraordinaire9911 closed 1 year ago
You should get a list of npy after untar.
You should get a list of npy after untar.
Thank you very much for your quick response. I encountered the issue by misusing zipping app for untar, and the issue is now solved by ruuning the following command (win10 cmd):
tar -xvzf [\PATH\TO\FILE\]cocotalk_fc.tar -C [\PATH\TO\FOLDER\EXTRACTION]
As a result, after untar I obtain a folder named cocotalk_fc
containing 123,287 npy files indexing up to 581929.
After using a whole afternoon to fix 87 bugs in this repo one by one, finally I'm able to start training, but not surprisingly, I got stuck by another issue. This time I have no more idea about how to fix it, as there exists barely any related Q&A on Google (e.g. What is the
391895.npy
? Where to find it? What may replace it? Or how to bypass this appear-to-be-easy FileNotFoundError?). Would anyone kindly give a hint of how I might sort out this issue? Many thanks.The code to trigger this issue (after following all the previous steps):
bash run_fc_con.sh
The error message:(After downloading and unzipping the cocotalk_fc.tar from Google drive, I obtain a folder
cocotalk_fc
with structure like this:cocotalk_fc (the root folder obtained from zipping) -> cocotalk_fc (a binary file)
and after I cut them to under the directorycider
, the path to the end of this directory branch is like this:DiscCaptioning -> cider -> cocotalk_fc (the root folder after zipping) -> cocotalk_fc (a binary file)
Also, it won't help if you simply rename the binarycocotalk_fc
file to391895
or391895.npy
, which would still throw the same error. I'm hence stuck.)