it gave this error:
RuntimeError: thnn_conv2d_forward is not implemented for type torch.ByteTensor
but probably the problem will be solved if I just change the array. 
edit: actually that solved the error. apparently forwarding is a problem… I believe I can solve probably.