我运行了git fetch,我的笔记本电脑在运行时死机了。fatal: Not a git repository (or any of the parent directories): .git说,现在有一个.git文件夹,但是运行任何git命令都可以。Running git init说Reinitialized existing Git repository in <directory>
谁能给我解释一下为什么每次我运行这段代码时,我的电脑都会死机?
from numbapro import cuda
import numpy as np
from timeit import default_timer as time
n = 100
dtype = np.float32
@cuda.jit('void(float32[:,:], float32[:], float32[:])')
def cu_matrix_vector(A, b, c):
y, x = cuda.grid(2)
if x < n and y < n:
我目前正在尝试使用keras库中的vgg16模型,但是每当我通过执行以下操作来创建VGG16模型的对象时
from keras.applications.vgg16 import VGG16
model = VGG16()
我收到以下消息3次。
tensorflow/core/framework/allocator.cc.124 allocation of 449576960 exceeds 10% of system memory
接着,我的电脑就死机了。我在linux mint 18上使用64位、4 4gb的RAM,并且我无法访问GPU。
这个问题是不是和我的内存有关?
作为一种临时解决方