I am getting erroor after submitting CSV File. Am attching CSV file and Code

https://drive.google.com/open?id=1Uj0Iho9nZyXtQHMHzsSnKKxmN8FzFfPm

Hey @Akshit2204, everything seems great just change the method of making csv file,

I just change last line of your code and everything is same.

Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. :blush:

I cannot find the edited code?

import matplotlib.pyplot as plt
import cv2
import numpy as np
import pandas as pd
image1=cv2.imread('top_right.jpg')
image2=cv2.imread('bottom_right.jpg')
image3=cv2.imread('top_left.jpg')
image4=cv2.imread('bottom_left.jpg')
image5=cv2.imread('center.jpeg')





rgbim1=cv2.cvtColor(image1,cv2.COLOR_BGR2RGB)
rgbim2=cv2.cvtColor(image2,cv2.COLOR_BGR2RGB)
rgbim3=cv2.cvtColor(image3,cv2.COLOR_BGR2RGB)
rgbim4=cv2.cvtColor(image4,cv2.COLOR_BGR2RGB)
rgbim5=cv2.cvtColor(image5,cv2.COLOR_BGR2RGB)


plt.axis("off")


rgbim1rs = cv2.resize(rgbim1,(200,200))
rgbim1rs = cv2.copyMakeBorder(rgbim1rs,10,10,0,10,0)#top-right
rgbim2rs = cv2.resize(rgbim2,(200,200))
rgbim2rs = cv2.copyMakeBorder(rgbim2rs,0,10,0,10,0)#bottom-right
rgbim3rs = cv2.resize(rgbim3,(200,200))
rgbim3rs = cv2.copyMakeBorder(rgbim3rs,10,10,10,10,0)#top-left
rgbim4rs = cv2.resize(rgbim4,(200,200))
rgbim4rs = cv2.copyMakeBorder(rgbim4rs,0,10,10,10,0)#bottom-left

rgbim5rs = cv2.resize(rgbim5,(200,200))
rgbim5rs = cv2.copyMakeBorder(rgbim5rs,10,10,10,10,0)#center

final=np.zeros((430,430,3),int)
final[0:220,220:430]=rgbim1rs
final[220:430,220:430]=rgbim2rs
final[0:220,0:220]=rgbim3rs
final[220:430,0:220]=rgbim4rs
final[110:330,110:330]=rgbim5rs

plt.imshow(final)
print(final.shape)
updated=final.reshape(184900,3)
# np.savetxt('test1.csv',updated,header='r,g,b')
pd.DataFrame(data = updated).to_csv("submission.csv",index = False, header = ['r','g','b'])

Thanks a Lot for the kind help

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

Not able to rate experience

Hey @Akshit2204, yes there is issue with the backend, we are working on it.
Many Thanx for your concern. Happy Learning :blush: