Skip to content

AttributeError: module 'tensorflow_estimator.python.estimator.api._v1.estimator' has no attribute 'preprocessing' #193

@xingyangfeng

Description

@xingyangfeng

max_document_length = max([len(x.split(" ")) for x in x_text])
vocab_processor = estimator.preprocessing.VocabularyProcessor(max_document_length)
x = np.array(list(vocab_processor.fit_transform(x_text)))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions