Skip to content

Can not run your repo in tensorflow 1.3.0 #8

@xiongjunkun

Description

@xiongjunkun

Hi, KnHuq.
Thank you for the tutorial, and I've learned a lot about tensorflow from your code. But now, I am having a problem when I run your code and always report an error: TypeError: Singleton array array(<map object at 0x7fe600c28d30>, dtype=object) cannot be considered a valid collection.
I have replaced the "from sklearn.cross_validation import train_test_split" with "from sklearn.model_selection import train_test_split",but it is still an error.
I have been troubled by this problem for a long time,could you help me figure out the reason?
look forward to your reply

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