Groups
Groups
Sign in
Groups
Groups
pylearn-dev
Conversations
About
Send feedback
Help
possible bug in datasets\cifar10.py
10 views
Skip to first unread message
Hanan R
unread,
Mar 17, 2016, 12:59:04 PM
3/17/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pylearn-dev
hi
tried running the examples, and encountered an error on line 85
x = numpy.zeros((lenx, self.img_size), dtype=dtype)
that the index cannot be of type float64
adding an int conversion to the previous line solve the problem
lenx =
int
(numpy.ceil((ntrain + nvalid) / 10000.) * 10000
)
Reply all
Reply to author
Forward
0 new messages