_leo
February 14, 2022, 6:36pm
1
Keras provides an imdb.npz
file (imdb.load_data ) which contains the processed data of the IMDb dataset. However, I cannot find the code that generates this file. Can someone help me out? Thanks!
Bhack
February 15, 2022, 1:06am
2
If I remember correctly I don’t think that the scripts is public.
But the version in tf.dataset
is public:
# coding=utf-8
# Copyright 2024 The TensorFlow Datasets Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Dataset definition for imdb_reviews.
DEPRECATED!
If you want to use the IMDBReviews dataset builder class, use:
tfds.builder_cls('imdb_reviews')
This file has been truncated. show original
1 Like