Code like this:
trainset = COCODataset('data.txt', (416,416), True, is_debug=True)
	trainloader = DataLoader(trainset, batch_size=8,shuffle=False, num_workers=4)

	net = Mynet(file)
	if gpu:
		net.cuda()
	optimizer = optim.SGD(net.parameters(), lr=0.01)
	for epoch in range(Epochs):
		for i, sample in enumerate(trainloader):
			images, labels = sample['image'], sample['label']

I got an error here for i, sample in enumerate(trainloader): :
OSError: [Errno 12] Cannot allocate memory
What’s that mean?My GPU memory-usage is 1283MiB / 8118MiB