Tensorflow value error when chaining content of data - Cannot feed value of shape (1, 1) for Tensor 'Placeholder_1:0',
问题 This post is related to the following question. The code above is taken from the accepted answer. The program itself works fine as is, but if I only changed the values of the data provided from df = pd.DataFrame({'Temperature': [183, 10.7, 24.3, 10.7], 'Weight': [8, 11.2, 14, 11.2], 'Size': [3.97, 7.88, 11, 7.88], 'Property': [0,1,2,0]}) to df = pd.DataFrame({'Temperature': [0,0,0,0], 'Weight': [1,2,3,4], 'Size': [1,2,3,4], 'Property': [1,1,1,1]}) I receive the following error while executing