Solution 11

Instead of tf.placeholder(shape=[None, 2], dtype=tf.float32) use something like tf.compat.v1.placeholder(shape=[None, 2], dtype=tf.float32) if you don't want to disable v2 completely.

References

--

--

--

MS Thesis Student, CVGL, LUMS http://pk.linkedin.com/in/talhahanifbutt

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

day 6 of my #1000daysofcoding

Secure your Kubernetes Storage with Rook and Hashicorp Vault

Changing Column Order in a Table — Set Ordinal

GoDaddy sells PlusServer for $456M, kills off its AWS-style cloud services

Complete Intro to Web Development from FrontEndMasters -A personal journey(Part 3)

Request dispatching patterns of Ballerina HTTP service

Serverless Caching Strategies — Part 1 (Amazon API Gateway) 🚀

Introducing KuWIN — The Graphical User Interface of KuDOS!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Talha Hanif Butt

Talha Hanif Butt

MS Thesis Student, CVGL, LUMS http://pk.linkedin.com/in/talhahanifbutt

More from Medium

Watching webcam stream in terminal, using ascii characters & Python

How to update cmake on Ubuntu

Everything is object

tqdm in While loops