Question: how do i fix this ? thats the link to the code https://pythonprogramming.net/convolutional-neural-network-kats-vs-dogs-machine-learning-tutorial/ In [5]: train_data -create train_data) If you have already created the dataset

how do i fix this ?

thats the link to the code

https://pythonprogramming.net/convolutional-neural-network-kats-vs-dogs-machine-learning-tutorial/how do i fix this ? thats the link to the code

In [5]: train_data -create train_data) If you have already created the dataset #train data -np. load( 'train data .npy NaneError Traceback (most recent call last) in 1 train data createtrain_data() 2 # If you have already created the dataset: 3 #train-data-np. load ("train. data .npy') ipython-input-3-a8c56d5 in create train_data) 1 def create_train_data(): 2 training, data [ ] for img in tqdm(os listdir (TRAIN_DIR)) label label_img (img) path os path.join(TRAIN DIR, img) 5 NameError: name 'TRAINDIR' is not defined

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!