Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6334

Face Recognition project in python [closed]

$
0
0

helloI have Face Recognition Project. I used these librariesI run the following code, it works fine, but when some cells run, the kernel restarts automaticallyWhen I execute this code snippet : Kernel RestartingThe kernel appears to have died. It will restart automatically.

This is my code:

anch_imgs, pos_imgs, neg_imgs = next(iter(train_dl))concat = torch.cat((anch_imgs, pos_imgs, neg_imgs), 0)plt.figure(figsize=(24, 9))imshow(torchvision.utils.make_grid(concat, nrow=8))

Do I have a problem with the code or the Jupiter Notebook app ?Thanks for helping


Viewing all articles
Browse latest Browse all 6334

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>