Hello, I’m a new user of SWAN. I have several warnings of the same kind when running my Jupiter notebook. I put here one as example:
WARNING: Logging before flag parsing goes to stderr. W0205 17:08:25.477203 140255624709952 deprecation_wrapper.py:119] From /cvmfs/sft.cern.ch/lcg/views/LCG_97apython3/x86_64-centos7-gcc8-opt/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py:74: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.
Later on I get also ERRORs preventing from running:
KeyError Traceback (most recent call last)
in
16 batch_size=3000,
17 callbacks=callbacks,
—> 18 verbose=1
19 )
/cvmfs/sft.cern.ch/lcg/views/LCG_97apython3/x86_64-centos7-gcc8-opt/lib/python3.7/site-packages/keras/engine/training.py in fit(self, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, **kwargs)
1037 initial_epoch=initial_epoch,
1038 steps_per_epoch=steps_per_epoch,
→ 1039 validation_steps=validation_steps)
1040
1041 def evaluate(self, x=None, y=None,
At the beginning of the notebook I have:
from keras.layers import BatchNormalization
from keras.layers import Dense, Activation, Input, add
from keras.models import Model
from keras.optimizers import Adam
from keras.callbacks import ReduceLROnPlateau, Callback
import os
os.environ[‘KMP_DUPLICATE_LIB_OK’]=‘True’
Should I change something?
Thank you in advance.
Helena Santos