我发现一个问题,Conv2DCustomBackpropInputOp仅支持NHWC。您能帮我解决这个问题吗?

时间:2019-11-17 02:09:22

标签: tensorflow computer-vision

问题是当我使用tensorflow 2.0.0和python 3.7训练用tensorflow 1.0.0和python 2.7编写的gan时,我遇到了Conv2DCustomBackpropInputOp仅支持NHWC的问题。 enter image description here

1 个答案:

答案 0 :(得分:0)

您输入数据的形状很可能采用TypeError: Converting circular structure to JSON --> starting at object with constructor 'NativeConnection' | property 'base' -> object with constructor 'Mongoose' | property 'connections' -> object with constructor 'Array' --- index 0 closes the circle at JSON.stringify (<anonymous>) at formatReportOutput (E:\Application\routes\data.js:97:50)

的形式

将其形状更改为var routput = [{ "_id" : ObjectId("59920689253dfa0544f26b93"), "INumber" : "535264", "IID" : "25544825", "DateReceived" : ISODate("2017-08-14T20:22:33.350Z"), }] 并使用NCHW (Batch Size, Number of Channels, Height of the Image and Width of the Image).可以解决您的问题。

请让我知道如何进行。谢谢!