Perceptilabs not showing in browser

Hello,

I have quite extensively used previous Perceptilabs versions and I am really looking forward to play with this silver release. I have created an Anaconda env with Python 3.7.9 and installed the Atari Gym. When I run Perceptilabs from the Anaconda prompt it runs Ok and opens a Chrome (Version 86.0.4240.75 (Build officiel) (64 bits)) tab only displaying the EDB Potgres logo and message “Server is up and running”. I cannot see the UI. What am I doing wrong ?

Best regards,

Pierre-Emmanuel

Hi Pierre,

Could you please share me few minor details?

  1. Screenshot of the page.
  2. URL in the address bar.

Also, can you make sure that the port 8080 is free and not running any other services.

Hi Rohan,

Here is the screen cap, no process seems to be using port 8080. I am available for any further info you might need.

Thanks,

Pierre

Hi Pierre,

Thanks for trying out the new version and sorry for the inconvenience!

Would you mind sharing a screenshot or log of you running “perceptilabs -v=3” as well?
This will print all the logs from the tool in the terminal.

It would also be very helpful to have a quick call with a screenshare, if you would be willing to do that? :slight_smile:

Have a great day!
Best regards,
Robert

Hi Robert,

Here is the screencap:

and as a log:

(base) C:\Users\zepef>conda activate perceptilabs

(perceptilabs) C:\Users\zepef>cd source/repos/perceptilabs

(perceptilabs) C:\Users\zepef\source\repos\perceptilabs>perceptilabs -v=3
Operations to perform:
Apply all migrations: admin, api, auth, contenttypes, sessions
Running migrations:
No migrations to apply.
PerceptiLabs: Starting
2020-10-07 14:07:14.369558: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘cudart64_100.dll’; dlerror: cudart64_100.dll not found
2020-10-07 14:07:14.369647: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Performing system checks…

Performing system checks…

Performing system checks…

System check identified no issues (0 silenced).
October 07, 2020 - 14:07:14
Django version 3.1.2, using settings ‘static_file_server.settings’
Starting development server at http://127.0.0.1:8080/
Quit the server with CTRL-BREAK.
Error: [WinError 10013] Une tentative d’accès à un socket de manière interdite par ses autorisations d’accès a été tentée
System check identified no issues (0 silenced).
October 07, 2020 - 14:07:14
Django version 3.1.2, using settings ‘rygg.settings’
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
System check identified no issues (0 silenced).
October 07, 2020 - 14:07:15
Django version 3.1.2, using settings ‘fileserver.settings’
Starting development server at http://127.0.0.1:8011/
Quit the server with CTRL-BREAK.
2020-10-07 14:07:18,824 - INFO - :1 - Reporting errors with commit id: c4df85e1d756dc73f4eecc71197a24fd78b281d8
PerceptiLabs is ready…
2020-10-07 14:07:18,865 - INFO - :1 - Trying to listen to: 0.0.0.0 5000
PerceptiLabs: PerceptiLabs Started
PerceptiLabs: PerceptiLabs is running at http://localhost:8080/?token=_gHeF39znMBpj5muUfkTD5rsHxljSZ5NMMIEoYpDk-Y
PerceptiLabs: Use Control-C to stop this server and shut down all PerceptiLabs processes.

And when I ctrl-C:

Traceback (most recent call last):
File “”, line 1, in
File “static_file_server\website_launcher.py”, line 60, in static_file_server.website_launcher.launchAndKeepAlive
KeyboardInterrupt
2020-10-07 14:15:07,249 - INFO - :1 - Ran uploader AzureUploader:uantumetdisks. File path: C:\Users\zepef\AppData\Local\Temp\perceptilabs_archives_0kh3kzx9\default-2020-10-07-25791c2b5dd64944bf1d4932f0177726.txt.zip
2020-10-07 14:15:08,775 - INFO - :1 - Ran uploader AzureUploader:quantumnetamerica. File path: C:\Users\zepef\AppData\Local\Temp\perceptilabs_archives_0kh3kzx9\default-2020-10-07-25791c2b5dd64944bf1d4932f0177726.txt.zip
PerceptiLabs: Received SIGINT (Stop signal)
PerceptiLabs: Stopping process 1928
PerceptiLabs: Stopping process 34128
PerceptiLabs: Stopping process 284
PerceptiLabs: Stopping process 22444
PerceptiLabs: Stopping process 27808

Maybe it’s a CUDA problem I already encountered
https://stackoverflow.com/questions/57528027/importerror-could-not-find-cudart64-100-dll

(perceptilabs) C:\Users\zepef\source\repos\perceptilabs>nvcc --version
nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2019 NVIDIA Corporation
Built on Fri_Feb__8_19:08:26_Pacific_Standard_Time_2019
Cuda compilation tools, release 10.1, V10.1.105

Python 3.7.9 (default, Aug 31 2020, 17:10:11) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type “help”, “copyright”, “credits” or “license” for more information.

from tensorflow.python.client import device_lib
2020-10-07 14:23:26.626345: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘cudart64_100.dll’; dlerror: cudart64_100.dll not found
2020-10-07 14:23:26.626500: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.

print(device_lib.list_local_devices())
2020-10-07 14:23:51.697297: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-10-07 14:23:51.709380: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
2020-10-07 14:23:51.797456: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:
name: GeForce RTX 2070 with Max-Q Design major: 7 minor: 5 memoryClockRate(GHz): 1.185
pciBusID: 0000:01:00.0
2020-10-07 14:23:51.799683: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘cudart64_100.dll’; dlerror: cudart64_100.dll not found
2020-10-07 14:23:51.801644: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘cublas64_100.dll’; dlerror: cublas64_100.dll not found
2020-10-07 14:23:51.803560: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘cufft64_100.dll’; dlerror: cufft64_100.dll not found
2020-10-07 14:23:51.805498: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘curand64_100.dll’; dlerror: curand64_100.dll not found
2020-10-07 14:23:51.807379: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘cusolver64_100.dll’; dlerror: cusolver64_100.dll not found
2020-10-07 14:23:51.809327: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘cusparse64_100.dll’; dlerror: cusparse64_100.dll not found
2020-10-07 14:23:51.811260: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘cudnn64_7.dll’; dlerror: cudnn64_7.dll not found
2020-10-07 14:23:51.811378: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1641] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices…
2020-10-07 14:23:51.969915: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1159] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-10-07 14:23:51.970068: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1165] 0
2020-10-07 14:23:51.971234: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1178] 0: N
[name: “/device:CPU:0”
device_type: “CPU”
memory_limit: 268435456
locality {
}
incarnation: 9753153307931132746
]

I’ll be more than happy to help the team.

I am in Madagascar right now GMT+03. You can reach me on Whatsapp +261 34 50 935 03
I will try to fix the CUDART problem and I’ll let you know.

All the best,

Pierre

Thank you very much! That log helps a lot.

I don’t think the CUDART message is too much of an issue, the tool will by default run on CPU.

This message might be the problem though: “Error: [WinError 10013] Une tentative d’accès à un socket de manière interdite par ses autorisations d’accès a été tentée.”
I am not an expert on French, but from my Google translate it looks like it can’t open the port.

From the first screenshot you sent it does look like netstat returns with one process occupying the port before PerceptiLabs is started. What would happen if you terminate that process (pid 5124) and then try running PerceptiLabs again?

I’ll reach out to you through Whatsapp as well, thank you very much for offering that :slight_smile:

All the best,
Robert

Robert,

You are right. Although I stopped the server of Axxon Next (I am working part time for Axxonsoft) it does halt the program processes but not the Apache server (PID 5124).

Thanks a lot I will take a tour of Perceptilabs right now !

Have a nice day,

Pierre

Great that it works now! And happy to help :slight_smile:

Let me know if anything else comes up and we will take a look at that too.
I would also love to hear what you think of the new version after you test it out, if you don’t mind sharing your experiences?

Also, feel free to reach out whenever. Either here, to my email (robert.l@perceptilabs.com) or at our slack channel: https://join.slack.com/t/perceptilabs-com/shared_invite/zt-auchqflz-4YANlDBSyJW1qC7LdpQBSA

Have a great day!
All the best,
Robert