Closed muzzi123 closed 3 years ago
Hi Muhammad,
The second error occurs because the kernel restarts and you need to import Logger
again with import Logger
.
Could you please share the error message of the colab in this discussion? Does it mention why the Kernel died?
Closed the issue. Please re-open if you keep having the same problem
Hello Everyone!
I have two problems when I run this whole script by giving my path of MNIST data
by data folder path is this "C:\Users\muzam\Anaconda3\envs\tensorflow\Data_Practice\train-images-idx3-ubyte\dataset\MNIST"
when I run the "Training code" in juypter
Create logger instance
logger = Logger(model_name='VGAN', data_name='MNIST')
Total number of epochs to train
num_epochs = 20 for epoch in range(num_epochs): for n_batch, (realbatch,) in enumerate(data_loader): N = real_batch.size(0)
1. Train Discriminator
First it give the error that my kernel is dead
then it after kernel is again idle when I run it again it give me the error "name Logger is not defined as shown below
And it also generate the folder in data in which subdirectories VGAN and MNIST but this folder are empty.
I don't know what the problem can any one tell me the solution.
Thank you very much for you time and consideration. I am waiting for your reply.
Regards:
Muhammad Muzammil Mukhtar