Traceback (most recent call last):

 "C:\Users-\AppData\Local\Programs\Python\Python35-32\lib\site-packages\discord\client.py", line 267, in _run_event
yield from getattr(self, event)(_args, *_kwargs)

 "red.py", line 63, in on_message
await bot.process_commands(message)

 "C:\Users-\AppData\Local\Programs\Python\Python35-32\lib\site-packages\discord\ext\commands\bot.py", line 607, in process_commands
yield from command.invoke(ctx)

 "C:\Users-\AppData\Local\Programs\Python\Python35-32\lib\site-packages\discord\ext\commands\core.py", line 343, in invoke
yield from injected(_ctx.args, *_ctx.kwargs)

 "C:\Users-\AppData\Local\Programs\Python\Python35-32\lib\site-packages\discord\ext\commands\core.py", line 47, in wrapped
ret = yield from coro(_args, *_kwargs)

 "C:\Users-\Documents\Red\Red-DiscordBot\cogs\audio.py", line 668, in addplaylist
if links:UnboundLocalError: local variable 'links' referenced before assignment
Traceback (most recent call last):


 "vgg16_cd_0120.py", line 33, in <module>

X_f_val=basemodel.predict_generator(datagen.flow(X_train, batch_size=32,shuffle=False),int(0.1*len(X_train)),nb_worker=16)


 "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 1749, in predict_generator

all_outs[i][processed_samples:(processed_samples + nb_samples)] = out
ValueError: could not broadcast input array from shape (32,7,7,512) into shape (4,7,7,512)
