Update train_spn.py

Make the fGpuMem variable float:
fGpuMem = float(arguments['gpu_mem'])