You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use gpu, I get a error "Segmentation fault (core dumped)"
My code is here, very simple:
#!/usr/bin/python
#coding: utf-8
import gpycnn as G
import pycnn as C
import numpy as np
model = G.Model()
model.add_parameters('w', (2, 2))
w = model['w']
matrix = np.random.uniform(-0.01, 0.01, w.shape())
w.load_array(matrix)
My code use the pycnn is ok, but when I convert to gpycnn, it will crash and will catch such problem
"Segmentation fault (core dumped)"
By the way, the line with load_ array can cause the error.
Did I use gpu model parameters with the wrong function?
Could you help me deal with it?
Thank you!
The text was updated successfully, but these errors were encountered:
When I try to use gpu, I get a error "Segmentation fault (core dumped)"
My code is here, very simple:
My code use the pycnn is ok, but when I convert to gpycnn, it will crash and will catch such problem
"Segmentation fault (core dumped)"
By the way, the line with load_ array can cause the error.
Did I use gpu model parameters with the wrong function?
Could you help me deal with it?
Thank you!
The text was updated successfully, but these errors were encountered: