Machine-Learning-Toolbox icon indicating copy to clipboard operation
Machine-Learning-Toolbox copied to clipboard

Ask for help

Open jianghongsun opened this issue 6 years ago • 0 comments

hi,ewrfcas.I am very sorry to trouble you.I have some questions to trouble you. I want to konw train_kp.csv whether is the labelled human facial feature map.Where is the face picture? Can you send me an train_kp.csv file.When I run the program to model.fit_generator(generate_for_kp(train_list,train_labels,64),steps_per_epoch=int(len(train_list)/64)+1,
epochs=epoch_num,verbose=1,validation_data=generate_for_kp(val_list,val_labels,64),
validation_steps=int(len(val_list)/64)+1,
callbacks=[change_lr,early_stop,check_point]) The error is as follows: 2018-03-25 21:14:10.039454: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA Epoch 1/1000 2018-03-25 21:14:10.148569: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2018-03-25 21:14:10.148870: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties: name: GeForce GTX 1050 major: 6 minor: 1 memoryClockRate(GHz): 1.455 pciBusID: 0000:07:00.0 totalMemory: 1.94GiB freeMemory: 1.65GiB 2018-03-25 21:14:10.148884: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 1050, pci bus id: 0000:07:00.0, compute capability: 6.1) Traceback (most recent call last): File "/home/sun/PycharmProjects/untitled/test.py", line 194, in callbacks=[change_lr,early_stop,check_point]) File "/usr/local/lib/python3.5/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.5/dist-packages/keras/engine/training.py", line 2192, in fit_generator generator_output = next(output_generator) File "/usr/local/lib/python3.5/dist-packages/keras/utils/data_utils.py", line 793, in get six.reraise(value.class, value, value.traceback) File "/usr/local/lib/python3.5/dist-packages/six.py", line 693, in reraise raise value File "/usr/local/lib/python3.5/dist-packages/keras/utils/data_utils.py", line 658, in _data_generator_task generator_output = next(self._generator) File "/home/sun/PycharmProjects/untitled/test.py", line 146, in generate_for_kp img = io.imread(path) File "/usr/local/lib/python3.5/dist-packages/skimage/io/_io.py", line 61, in imread img = call_plugin('imread', fname, plugin=plugin, **plugin_args) File "/usr/local/lib/python3.5/dist-packages/skimage/io/manage_plugins.py", line 211, in call_plugin return func(*args, **kwargs) File "/usr/local/lib/python3.5/dist-packages/skimage/io/_plugins/pil_plugin.py", line 35, in imread with open(fname, 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: 'dataset/train/2105.jpg' Can you give me some advice?Look forward to your reply.

jianghongsun avatar Mar 26 '18 01:03 jianghongsun