oposum icon indicating copy to clipboard operation
oposum copied to clipboard

the directory "data/preprocessed" needs to be manually created.

Open zhiyumeng opened this issue 6 years ago • 6 comments

the directory "data/preprocessed" needs to be manually created. Traceback (most recent call last): File "./scripts/prep_hier_hdf5.py", line 373, in main() File "./scripts/prep_hier_hdf5.py", line 267, in main with open(args.name + '_word_mapping.txt', 'w') as f: IOError: [Errno 2] No such file or directory: './data/preprocessed/BAGS_AND_CASES_MILNET_word_mapping.txt'

zhiyumeng avatar Dec 20 '18 05:12 zhiyumeng

Hi, I met the same issue, do you have a solution right now? Thanks!

fangguo1 avatar Mar 17 '19 20:03 fangguo1

maybe you can create the directory manually (without editing the codes).

zhiyumeng avatar Mar 18 '19 02:03 zhiyumeng

Did you finally make the model run successfully?

fangguo1 avatar Mar 19 '19 00:03 fangguo1

yes, I run the model successfully, but didn't train or test it. I just run the code, then stopped it after several seconds.

zhiyumeng avatar Mar 19 '19 02:03 zhiyumeng

@zhiyumeng Hello sir i am very much interested to know how to add manually prepossessed folder in the directory, where to get /BAGS_AND_CASES_MILNET_word_mapping.txt this file ?

KhanJr avatar Aug 07 '20 15:08 KhanJr

It has been a long time. I forget it. “the directory "data/preprocessed" needs to be manually created” is just the reason the code/scripts failed,so I created athe dolder,then re run the codes.

发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用

发件人: Rizwan Khanmailto:[email protected] 发送时间: 2020年8月7日 23:51 收件人: stangelid/oposummailto:[email protected] 抄送: fyycmailto:[email protected]; Mentionmailto:[email protected] 主题: Re: [stangelid/oposum] the directory "data/preprocessed" needs to be manually created. (#1)

@zhiyumenghttps://github.com/zhiyumeng Hello sir i am very much interested to know how to add manually prepossessed folder in the directory, where to get /BAGS_AND_CASES_MILNET_word_mapping.txt this file ?

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/stangelid/oposum/issues/1#issuecomment-670584056, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFRSKHOIMQFRPCCEM5A4QZLR7QPHRANCNFSM4GLOGSPA.

zhiyumeng avatar Aug 12 '20 14:08 zhiyumeng