问题是当我使用tensorflow 2.0.0和python 3.7训练用tensorflow 1.0.0和python 2.7编写的gan时,我遇到了Conv2DCustomBackpropInputOp仅支持NHWC的问题。 enter image description here
答案 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).
可以解决您的问题。
请让我知道如何进行。谢谢!