我想使用相对路径存放imdb数据集怎么解决

(train_data,train_labels),(test_data,test_labels)=imdb.load_data(
    path="datasets/imdb.npz",num_words=vocab_size,index_from=index_from)

想把path里面的路径弄成相对路径的

qq_莫非
浏览 1477回答 0
0回答

慕斯4360584

VTTJSXAAVPCIXKVKZZDXQQAGMFPDPWMFSFPYRUXTMZLKDCWZHDBVLUEAQGCFPLJGAZRFRLATWPFZLAZCDAWZPZJKYOXGTEHXQHNZYCMDENEBKHMKWQNTHOEAKUMARDDMUGJGSOSCIYVKADTTZYIFVRRXHKVLLFBBYYBBUMILFLIPSOIANWJWIWGWFLRAFGWNQJQGGDLJUNWRQRLBBYEQDZAGRBHELKEOVVPCVFTGYLPWXDBHRKEGEEXTNKGAGNTYOLMTAJJJDSSSXXDACJZACZFLYHIMPSDSTMTGQJTDJEDWCLFUOEEAYIIAAAAQQTTVFIANSORFLMUBRRRVCLREQTQJDHNQAKULASJAROYUUUEOUBHSCTMTJLEGJTGWNQZKQCURKDDULHREEKBBFROOAXDCSFLTWZTFIYQZOYMTWWSBOACINUEBBKROZYAAUHJCGSGPIOBYLUKRRUFPSCSIAXYILSJSJSWAOHUEWEXKDGEIIFYXDWMZMAZJTEFETGQXJXDQHTVRVTGNTQQJWFYTROIVYIIFULILVOCCVNMHUULERHHKWPEFOFSMPCVFRXTJDDWJJOBLSLIFAKKKRKPVESSZYOHXUIADAYUOXHHNJTFNGLHVSILOTSWPNDDTFBCPDTGJJCSMYIXQJDQZMIIBFLHUYCMONXDOMMFKATPHHJUWROYTVPBLLMUXGWZVSNRAUQTJSODGJTC
打开App,查看更多内容
随时随地看视频慕课网APP