Python Forum
How to change input data set for character recognition program?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change input data set for character recognition program?
#5
reshape is a methode under numpy's library and as the error printed in your terminal the object list has no method defined as reshape

import numpy as np
w_train=np.array(x_train)

then you can simply use the reshape function without any error :

w_train=x_train.reshape((2404,28,224,224,3))

you can check the reshape characteristics in this link https://www.geeksforgeeks.org/reshape-numpy-array/ for more understanding of the method
Reply


Messages In This Thread
RE: How to change input data set for character recognition program? - by VadimCr - Apr-20-2022, 07:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how do change data in a database CompleteNewb 5 2,401 Mar-20-2022, 11:31 PM
Last Post: Larz60+
  MergeSort data input Silvioo 0 1,777 Oct-11-2018, 06:53 AM
Last Post: Silvioo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020