Hi!
Came across this error when doodling around with PL:
Couldn't get model recommendation due to: Error: Request failed with status code 500
Input/target is simply one image, a white 64x64 jpg.
Here the output of verbosity level 3:
(pl) C:\Users[REDACTED]>perceptilabs -v=3
2021-06-28 14:53:29.609642: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
2021-06-28 14:53:32.624122: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-06-28 14:53:32.625081: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library nvcuda.dll
2021-06-28 14:53:32.641182: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: NVIDIA GeForce GTX 1080 computeCapability: 6.1
coreClock: 1.771GHz coreCount: 20 deviceMemorySize: 8.00GiB deviceMemoryBandwidth: 298.32GiB/s
2021-06-28 14:53:32.641367: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
2021-06-28 14:53:32.649951: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublas64_11.dll
2021-06-28 14:53:32.650114: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublasLt64_11.dll
2021-06-28 14:53:32.653993: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cufft64_10.dll
2021-06-28 14:53:32.655259: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library curand64_10.dll
2021-06-28 14:53:32.663553: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusolver64_10.dll
2021-06-28 14:53:32.667420: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusparse64_11.dll
2021-06-28 14:53:32.668321: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudnn64_8.dll
2021-06-28 14:53:32.668533: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1862] Adding visible gpu devices: 0
Operations to perform:
Apply all migrations: admin, api, auth, contenttypes, sessions
Running migrations:
No migrations to apply.
PerceptiLabs: Starting
2021-06-28 14:53:48.351326: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
2021-06-28 14:53:48.360003: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
Performing system checks…
Performing system checks...
System check identified no issues (0 silenced).
June 28, 2021 - 14:53:49
Django version 3.2, using settings 'static_file_server.settings'
Starting development server at http://127.0.0.1:8080/
Quit the server with CTRL-BREAK.
System check identified no issues (0 silenced).
June 28, 2021 - 14:53:49
Django version 3.2, using settings 'fileserver.settings'
Starting development server at http://127.0.0.1:8011/
Quit the server with CTRL-BREAK.
Performing system checks...
System check identified no issues (0 silenced).
June 28, 2021 - 14:53:49
Django version 3.2, using settings 'rygg.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
[28/Jun/2021 14:53:50] "GET /?token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto HTTP/1.1" 200 493
[28/Jun/2021 14:53:50] "GET /static/styles/vendors.df1267d6ff8457d42086.css HTTP/1.1" 304 0
[28/Jun/2021 14:53:50] "GET /static/js/0.65773a032b9e270e374c.js HTTP/1.1" 304 0
[28/Jun/2021 14:53:50] "GET /static/js/app.787e50e4dbab3976d321.js HTTP/1.1" 304 0
[28/Jun/2021 14:53:51] "GET /fileserver_url HTTP/1.1" 200 0
[28/Jun/2021 14:53:51] "GET /rendering_kernel_url HTTP/1.1" 200 0
[28/Jun/2021 14:53:51] "GET /rygg_url HTTP/1.1" 200 0
[28/Jun/2021 14:53:51] "GET /kernel_url HTTP/1.1" 200 0
[28/Jun/2021 14:53:51] "GET /keycloak_url HTTP/1.1" 200 0
[28/Jun/2021 14:53:51,301] - Broken pipe from ('127.0.0.1', 51621)
2021-06-28 14:53:51.649209: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-06-28 14:53:51.649919: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library nvcuda.dll
2021-06-28 14:53:51.662292: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-06-28 14:53:51.662986: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library nvcuda.dll
2021-06-28 14:53:51.665498: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: NVIDIA GeForce GTX 1080 computeCapability: 6.1
coreClock: 1.771GHz coreCount: 20 deviceMemorySize: 8.00GiB deviceMemoryBandwidth: 298.32GiB/s
2021-06-28 14:53:51.665739: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
2021-06-28 14:53:51.670744: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublas64_11.dll
2021-06-28 14:53:51.671199: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublasLt64_11.dll
2021-06-28 14:53:51.676110: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cufft64_10.dll
2021-06-28 14:53:51.677194: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library curand64_10.dll
2021-06-28 14:53:51.679577: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: NVIDIA GeForce GTX 1080 computeCapability: 6.1
coreClock: 1.771GHz coreCount: 20 deviceMemorySize: 8.00GiB deviceMemoryBandwidth: 298.32GiB/s
2021-06-28 14:53:51.681229: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
2021-06-28 14:53:51.683516: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusolver64_10.dll
2021-06-28 14:53:51.685626: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusparse64_11.dll
2021-06-28 14:53:51.686798: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudnn64_8.dll
2021-06-28 14:53:51.687092: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1862] Adding visible gpu devices: 0
2021-06-28 14:53:51.688027: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublas64_11.dll
2021-06-28 14:53:51.688518: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublasLt64_11.dll
2021-06-28 14:53:51.693013: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cufft64_10.dll
2021-06-28 14:53:51.694052: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library curand64_10.dll
2021-06-28 14:53:51.700733: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusolver64_10.dll
2021-06-28 14:53:51.702918: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusparse64_11.dll
2021-06-28 14:53:51.703881: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudnn64_8.dll
2021-06-28 14:53:51.704118: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1862] Adding visible gpu devices: 0
[28/Jun/2021 14:53:51] "GET /keycloak_url HTTP/1.1" 200 0
[28/Jun/2021 14:53:52] "GET /?token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto HTTP/1.1" 200 493
[28/Jun/2021 14:53:52] "GET /fileserver_url HTTP/1.1" 200 0
[28/Jun/2021 14:53:52] "GET /rendering_kernel_url HTTP/1.1" 200 0
[28/Jun/2021 14:53:52] "GET /rygg_url HTTP/1.1" 200 0
[28/Jun/2021 14:53:52] "GET /kernel_url HTTP/1.1" 200 0
[28/Jun/2021 14:53:52] "GET /keycloak_url HTTP/1.1" 200 0
[28/Jun/2021 14:53:53] "GET /keycloak_url HTTP/1.1" 200 0
[28/Jun/2021 14:53:53] "GET /static/fonts/nunito-sans-v5-latin-600.b56c7e1.woff2 HTTP/1.1" 304 0
[28/Jun/2021 14:53:53] "GET /static/fonts/nunito-sans-v5-latin-700.d0b6d0f.woff2 HTTP/1.1" 304 0
[28/Jun/2021 14:53:53] "GET /static/fonts/nunito-sans-v5-latin-regular.9c6a1ff.woff2 HTTP/1.1" 304 0
[28/Jun/2021 14:53:53] "GET /static/img/tutorial-background.ac2e517.png HTTP/1.1" 200 186377
[28/Jun/2021 14:53:53] "GET /rygg_url HTTP/1.1" 200 0
[28/Jun/2021 14:53:53] "OPTIONS /version?token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto HTTP/1.1" 200 0
[28/Jun/2021 14:53:53] "GET /projects/ HTTP/1.1" 200 264
[28/Jun/2021 14:53:53] "GET /version?token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto HTTP/1.1" 200 22
[28/Jun/2021 14:53:53] "GET /app/updates_available/ HTTP/1.1" 200 22
[28/Jun/2021 14:53:53] "POST /mixpanel/track/?ip=1&_=1624884833561 HTTP/1.1" 200 0
2021-06-28 14:53:53,955 - INFO - perceptilabs\__main__:4 - Started kernel in mode '{args.mode}'
2021-06-28 14:53:53,955 - INFO - perceptilabs\__main__:4 - Started kernel in mode '{args.mode}'
2021-06-28 14:53:53,955 - INFO - perceptilabs\__main__:4 - Reporting errors with commit id: 2d0477bff7e114a20241b90fc7b2edab35a9ebc4
PerceptiLabs is ready...
2021-06-28 14:53:53,983 - INFO - perceptilabs\__main__:4 - Trying to listen to: 0.0.0.0 5000
[28/Jun/2021 14:53:54] "GET /mixpanel/decide/?verbose=1&version=1&lib=web&token=1480b2244fdd4d821227a29e2637f922&ip=1&_=1624884833556 HTTP/1.1" 200 0
PerceptiLabs: PerceptiLabs Started
PerceptiLabs: PerceptiLabs is running at http://localhost:8080/?token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto
PerceptiLabs: Use Control-C to stop this server and shut down all PerceptiLabs processes.
[28/Jun/2021 14:53:58] "POST /mixpanel/engage/?ip=1&_=1624884838502 HTTP/1.1" 200 0
[28/Jun/2021 14:53:58] "GET /mixpanel/decide/?verbose=1&version=3&lib=web&token=1480b2244fdd4d821227a29e2637f922&distinct_id=[REDACTED]%40gmail.com&ip=1&_=1624884838498 HTTP/1.1" 200 0
[28/Jun/2021 14:53:58] "POST /mixpanel/engage/?ip=1&_=1624884838500 HTTP/1.1" 200 0
2021-06-28 14:53:59,111 - INFO - server.py:293 - Created coreLogic for network 'None'
2021-06-28 14:53:59,155 - INFO - server.py:293 - Frontend receiver: None , Frontend request: checkVersions
2021-06-28 14:53:59,177 - INFO - server.py:293 - Frontend receiver: , Frontend request: setUser
2021-06-28 14:53:59,177 - INFO - server.py:293 - Created coreLogic for network ''
2021-06-28 14:53:59,186 - INFO - server.py:293 - User has been set to [REDACTED]@gmail.com
2021-06-28 14:54:01,097 - INFO - server.py:293 - Frontend receiver: , Frontend request: setUser
2021-06-28 14:54:01,098 - INFO - server.py:293 - User has been set to [REDACTED]@gmail.com
[28/Jun/2021 14:54:22] "GET /static/fonts/icomoon.1b9c004.woff HTTP/1.1" 304 0
[28/Jun/2021 14:54:22] "GET /static/img/file-picker/home.svg HTTP/1.1" 304 0
[28/Jun/2021 14:54:22] "OPTIONS /directories/get_folder_content?path=D:/tai&token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto HTTP/1.1" 200 0
[28/Jun/2021 14:54:22] "GET /directories/get_folder_content?path=D:/tai&token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto HTTP/1.1" 200 96
[28/Jun/2021 14:54:22] "GET /static/img/file-picker/folder.svg HTTP/1.1" 304 0
[28/Jun/2021 14:54:22] "GET /static/img/file-picker/file.svg HTTP/1.1" 304 0
[28/Jun/2021 14:54:26] "OPTIONS /files/get_file_content?path=D:/tai/tset.csv&token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto HTTP/1.1" 200 0
('D:/tai/tset.csv', 4)
[28/Jun/2021 14:54:26] "GET /files/get_file_content?path=D:/tai/tset.csv&token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto HTTP/1.1" 200 58
2021-06-28 14:54:26,173 - INFO - app.py:1884 - Request to endpoint 'type_inference' took 0.00010979999999705115s
INFO:perceptilabs.applogger:Request to endpoint 'type_inference' took 0.00010979999999705115s
2021-06-28 14:54:29,309 - INFO - app.py:1884 - Request to endpoint 'type_inference' took 3.134523999999999s
INFO:perceptilabs.applogger:Request to endpoint 'type_inference' took 3.134523999999999s
[28/Jun/2021 14:54:29] "GET /static/fonts/roboto-regular-webfont.736b705.woff2 HTTP/1.1" 200 20000
[28/Jun/2021 14:54:29] "OPTIONS /directories/resolved_dir?path=C:\Users\[REDACTED]\Documents\Perceptilabs\Default&token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto HTTP/1.1" 200 0
[28/Jun/2021 14:54:29] "GET /directories/resolved_dir?path=C:\Users\[REDACTED]\Documents\Perceptilabs\Default&token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto HTTP/1.1" 200 61
[28/Jun/2021 14:54:29] "OPTIONS /directories/get_folder_content?path=C:\Users\[REDACTED]\Documents\Perceptilabs\Default&token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto HTTP/1.1" 200 0
[28/Jun/2021 14:54:29] "GET /directories/get_folder_content?path=C:\Users\[REDACTED]\Documents\Perceptilabs\Default&token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto HTTP/1.1" 200 112
[28/Jun/2021 14:54:34] "OPTIONS /directories?path=C:\Users\[REDACTED]\Documents\Perceptilabs\Default/Model%201&token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto HTTP/1.1" 200 0
[28/Jun/2021 14:54:34] "HEAD /directories?path=C:\Users\[REDACTED]\Documents\Perceptilabs\Default/Model%201&token=jNo3mvx2ssyocDQcuQZXFoZnBZWGv0ykyOraBRI8rto HTTP/1.1" 204 34
[28/Jun/2021 14:54:35] "POST /models/ HTTP/1.1" 201 237
2021-06-28 14:54:35,026 - INFO - app.py:1884 - Request to endpoint 'model_recommendations' took 0.00011920000000031905s
INFO:perceptilabs.applogger:Request to endpoint 'model_recommendations' took 0.00011920000000031905s
2021-06-28 14:54:35.044967: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-06-28 14:54:35.046006: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: NVIDIA GeForce GTX 1080 computeCapability: 6.1
coreClock: 1.771GHz coreCount: 20 deviceMemorySize: 8.00GiB deviceMemoryBandwidth: 298.32GiB/s
2021-06-28 14:54:35.046161: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
2021-06-28 14:54:35.046575: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublas64_11.dll
2021-06-28 14:54:35.047054: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublasLt64_11.dll
2021-06-28 14:54:35.047506: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cufft64_10.dll
2021-06-28 14:54:35.047952: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library curand64_10.dll
2021-06-28 14:54:35.048456: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusolver64_10.dll
2021-06-28 14:54:35.049071: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusparse64_11.dll
2021-06-28 14:54:35.050265: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudnn64_8.dll
2021-06-28 14:54:35.050895: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1862] Adding visible gpu devices: 0
2021-06-28 14:54:35.645714: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1261] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-06-28 14:54:35.645876: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1267] 0
2021-06-28 14:54:35.646932: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1280] 0: N
2021-06-28 14:54:35.647769: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1406] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6692 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce GTX 1080, pci bus id: 0000:01:00.0, compute capability: 6.1)
2021-06-28 14:54:35.651093: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-06-28 14:54:35,654 - ERROR - views.py:83 - Error getting model recommendation!
Traceback (most recent call last):
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\eager\context.py", line 2113, in execution_mode
yield
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py", line 733, in _next_internal
output_shapes=self._flat_output_shapes)
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\ops\gen_dataset_ops.py", line 2578, in iterator_get_next
_ops.raise_from_not_ok_status(e, name)
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\framework\ops.py", line 6862, in raise_from_not_ok_status
six.raise_from(core._status_to_exception(e.code, message), None)
File "<string>", line 3, in raise_from
tensorflow.python.framework.errors_impl.OutOfRangeError: End of sequence [Op:IteratorGetNext]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py", line 747, in __next__
return self._next_internal()
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py", line 739, in _next_internal
return structure.from_compatible_tensor_list(self._element_spec, ret)
File "d:\[REDACTED]\anaconda3\envs\pl\lib\contextlib.py", line 130, in __exit__
self.gen.throw(type, value, traceback)
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\eager\context.py", line 2116, in execution_mode
executor_new.wait()
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\eager\executor.py", line 69, in wait
pywrap_tfe.TFE_ExecutorWaitForAllPendingNodes(self._handle)
tensorflow.python.framework.errors_impl.OutOfRangeError: End of sequence
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "perceptilabs\endpoints\model_recommendations\base.py", line 22, in perceptilabs.endpoints.model_recommendations.base.ModelRecommendations.dispatch_request
File "perceptilabs\data\base.py", line 67, in perceptilabs.data.base.DataLoader.from_dict
File "perceptilabs\data\base.py", line 85, in perceptilabs.data.base.DataLoader.from_features
File "perceptilabs\data\base.py", line 44, in perceptilabs.data.base.DataLoader.__init__
File "perceptilabs\data\base.py", line 235, in perceptilabs.data.base.DataLoader._build_datasets_and_pipelines
File "perceptilabs\data\base.py", line 110, in perceptilabs.data.base.DataLoader._create_datasets_and_pipelines_from_dataframe
File "perceptilabs\data\base.py", line 139, in perceptilabs.data.base.DataLoader._load_and_preprocess_feature
File "perceptilabs\data\base.py", line 169, in perceptilabs.data.base.DataLoader._build_pipelines
File "perceptilabs\data\pipelines\image.py", line 23, in perceptilabs.data.pipelines.image.ImagePipelineBuilder.build
File "perceptilabs\data\pipelines\image.py", line 204, in perceptilabs.data.pipelines.image.ImagePipelineBuilder._get_file_loader_pipeline
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py", line 749, in __next__
raise StopIteration
StopIteration
ERROR:perceptilabs.applogger:Error getting model recommendation!
Traceback (most recent call last):
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\eager\context.py", line 2113, in execution_mode
yield
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py", line 733, in _next_internal
output_shapes=self._flat_output_shapes)
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\ops\gen_dataset_ops.py", line 2578, in iterator_get_next
_ops.raise_from_not_ok_status(e, name)
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\framework\ops.py", line 6862, in raise_from_not_ok_status
six.raise_from(core._status_to_exception(e.code, message), None)
File "<string>", line 3, in raise_from
tensorflow.python.framework.errors_impl.OutOfRangeError: End of sequence [Op:IteratorGetNext]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py", line 747, in __next__
return self._next_internal()
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py", line 739, in _next_internal
return structure.from_compatible_tensor_list(self._element_spec, ret)
File "d:\[REDACTED]\anaconda3\envs\pl\lib\contextlib.py", line 130, in __exit__
self.gen.throw(type, value, traceback)
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\eager\context.py", line 2116, in execution_mode
executor_new.wait()
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\eager\executor.py", line 69, in wait
pywrap_tfe.TFE_ExecutorWaitForAllPendingNodes(self._handle)
tensorflow.python.framework.errors_impl.OutOfRangeError: End of sequence
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "perceptilabs\endpoints\model_recommendations\base.py", line 22, in perceptilabs.endpoints.model_recommendations.base.ModelRecommendations.dispatch_request
File "perceptilabs\data\base.py", line 67, in perceptilabs.data.base.DataLoader.from_dict
File "perceptilabs\data\base.py", line 85, in perceptilabs.data.base.DataLoader.from_features
File "perceptilabs\data\base.py", line 44, in perceptilabs.data.base.DataLoader.__init__
File "perceptilabs\data\base.py", line 235, in perceptilabs.data.base.DataLoader._build_datasets_and_pipelines
File "perceptilabs\data\base.py", line 110, in perceptilabs.data.base.DataLoader._create_datasets_and_pipelines_from_dataframe
File "perceptilabs\data\base.py", line 139, in perceptilabs.data.base.DataLoader._load_and_preprocess_feature
File "perceptilabs\data\base.py", line 169, in perceptilabs.data.base.DataLoader._build_pipelines
File "perceptilabs\data\pipelines\image.py", line 23, in perceptilabs.data.pipelines.image.ImagePipelineBuilder.build
File "perceptilabs\data\pipelines\image.py", line 204, in perceptilabs.data.pipelines.image.ImagePipelineBuilder._get_file_loader_pipeline
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py", line 749, in __next__
raise StopIteration
StopIteration
ERROR:perceptilabs.endpoints.base:Exception on /model_recommendations [POST]
Traceback (most recent call last):
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\eager\context.py", line 2113, in execution_mode
yield
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py", line 733, in _next_internal
output_shapes=self._flat_output_shapes)
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\ops\gen_dataset_ops.py", line 2578, in iterator_get_next
_ops.raise_from_not_ok_status(e, name)
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\framework\ops.py", line 6862, in raise_from_not_ok_status
six.raise_from(core._status_to_exception(e.code, message), None)
File "<string>", line 3, in raise_from
tensorflow.python.framework.errors_impl.OutOfRangeError: End of sequence [Op:IteratorGetNext]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py", line 747, in __next__
return self._next_internal()
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py", line 739, in _next_internal
return structure.from_compatible_tensor_list(self._element_spec, ret)
File "d:\[REDACTED]\anaconda3\envs\pl\lib\contextlib.py", line 130, in __exit__
self.gen.throw(type, value, traceback)
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\eager\context.py", line 2116, in execution_mode
executor_new.wait()
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\eager\executor.py", line 69, in wait
pywrap_tfe.TFE_ExecutorWaitForAllPendingNodes(self._handle)
tensorflow.python.framework.errors_impl.OutOfRangeError: End of sequence
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\flask\app.py", line 2070, in wsgi_app
response = self.full_dispatch_request()
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\flask\app.py", line 1515, in full_dispatch_request
rv = self.handle_user_exception(e)
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\flask\app.py", line 1513, in full_dispatch_request
rv = self.dispatch_request()
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\flask\app.py", line 1499, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\flask\views.py", line 83, in view
return self.dispatch_request(*args, **kwargs)
File "perceptilabs\endpoints\model_recommendations\base.py", line 28, in perceptilabs.endpoints.model_recommendations.base.ModelRecommendations.dispatch_request
File "perceptilabs\endpoints\model_recommendations\base.py", line 22, in perceptilabs.endpoints.model_recommendations.base.ModelRecommendations.dispatch_request
File "perceptilabs\data\base.py", line 67, in perceptilabs.data.base.DataLoader.from_dict
File "perceptilabs\data\base.py", line 85, in perceptilabs.data.base.DataLoader.from_features
File "perceptilabs\data\base.py", line 44, in perceptilabs.data.base.DataLoader.__init__
File "perceptilabs\data\base.py", line 235, in perceptilabs.data.base.DataLoader._build_datasets_and_pipelines
File "perceptilabs\data\base.py", line 110, in perceptilabs.data.base.DataLoader._create_datasets_and_pipelines_from_dataframe
File "perceptilabs\data\base.py", line 139, in perceptilabs.data.base.DataLoader._load_and_preprocess_feature
File "perceptilabs\data\base.py", line 169, in perceptilabs.data.base.DataLoader._build_pipelines
File "perceptilabs\data\pipelines\image.py", line 23, in perceptilabs.data.pipelines.image.ImagePipelineBuilder.build
File "perceptilabs\data\pipelines\image.py", line 204, in perceptilabs.data.pipelines.image.ImagePipelineBuilder._get_file_loader_pipeline
File "d:\[REDACTED]\anaconda3\envs\pl\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py", line 749, in __next__
raise StopIteration
StopIteration
2021-06-28 14:54:35,695 - INFO - app.py:1884 - Request to endpoint 'model_recommendations' took 0.6608693999999957s
INFO:perceptilabs.applogger:Request to endpoint 'model_recommendations' took 0.6608693999999957s
[28/Jun/2021 14:54:35] "OPTIONS /models/68/ HTTP/1.1" 200 0
[28/Jun/2021 14:54:35] "DELETE /models/68/ HTTP/1.1" 204 0
[28/Jun/2021 14:54:35] "GET /projects/ HTTP/1.1" 200 264
Edit: idk why the formatting is wacky, sorry