Traceback (most recent call last):


 "scripts/train.py", line 270, in <module>

main(sys.argv[1:])


 "scripts/train.py", line 266, in main

trainer.run()


 "/home/hassan/miniconda3/envs/potrait_matting/lib/python3.5/site-packages/chainer/training/trainer.py", line 376, in run

six.reraise(*exc_info)


 "/home/hassan/miniconda3/envs/potrait_matting/lib/python3.5/site-packages/six.py", line 693, in reraise

raise value


 "/home/hassan/miniconda3/envs/potrait_matting/lib/python3.5/site-packages/chainer/training/trainer.py", line 343, in run

update()


 "/home/hassan/miniconda3/envs/potrait_matting/lib/python3.5/site-packages/chainer/training/updaters/standard_updater.py", line 235, in update

self.update_core()


 "/home/hassan/miniconda3/envs/potrait_matting/lib/python3.5/site-packages/chainer/training/updaters/standard_updater.py", line 248, in update_core

optimizer.update(loss_func, *in_arrays)


 "/home/hassan/miniconda3/envs/potrait_matting/lib/python3.5/site-packages/chainer/optimizer.py", line 864, in update

loss = lossfun(*args, **kwds)


 "/home/hassan/python-workspace/portrait_matting/scripts/models/fcn8s.py", line 79, in __call__

score = self.forward(x)


 "/home/hassan/python-workspace/portrait_matting/scripts/models/fcn8s.py", line 127, in forward

h = F.relu(self.conv4_3(h))


 "/home/hassan/miniconda3/envs/potrait_matting/lib/python3.5/site-packages/chainer/functions/activation/relu.py", line 162, in relu

y, = ReLU().apply((x,))


 "/home/hassan/miniconda3/envs/potrait_matting/lib/python3.5/site-packages/chainer/function_node.py", line 325, in apply

outputs = self.forward(in_data)


 "/home/hassan/miniconda3/envs/potrait_matting/lib/python3.5/site-packages/chainer/function_node.py", line 518, in forward

return self.forward_gpu(inputs)


 "/home/hassan/miniconda3/envs/potrait_matting/lib/python3.5/site-packages/chainer/functions/activation/relu.py", line 55, in forward_gpu

y = cudnn.activation_forward(x, _mode)


 "cupy/cudnn.pyx", line 618, in cupy.cudnn.activation_forward


 "cupy/core/core.pyx", line 134, in cupy.core.core.ndarray.__init__


 "cupy/cuda/memory.pyx", line 540, in cupy.cuda.memory.alloc


 "cupy/cuda/memory.pyx", line 1186, in cupy.cuda.memory.MemoryPool.malloc


 "cupy/cuda/memory.pyx", line 1207, in cupy.cuda.memory.MemoryPool.malloc


 "cupy/cuda/memory.pyx", line 994, in cupy.cuda.memory.SingleDeviceMemoryPool.malloc


 "cupy/cuda/memory.pyx", line 1009, in cupy.cuda.memory.SingleDeviceMemoryPool._malloc


 "cupy/cuda/memory.pyx", line 743, in cupy.cuda.memory._try_malloc
cupy.cuda.memory.OutOfMemoryError: Out of memory allocating 25,600,000 bytes (allocated so far: 3,635,267,072 bytes).

`Traceback (most recent call last):


 "test.py", line 275, in <module>

opt.verbose)


 "test.py", line 75, in test

pad=0.5)
# padding


 "/content/drive/.shortcut-targets-by-id/1wIBTh-Zu1ojKVqbCltOCNlIMXYeh-hx7/CV/yolov5/utils/datasets.py", line 404, in __init__

assert nf > 0 or n == 20288, 'No labels found in %s. See %s' % (os.path.dirname(file) + os.sep, help_url)
AssertionError: No labels found in data/test/. See https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data`
