artline-demo
artline-demo copied to clipboard
Can't get attribute 'FeatureLoss' on <module '__main__' (built-in)>
Thank you very much for your resources. In Linux environment, Uwsgi deployment, error still occurs:
** Starting uWSGI 2.0.19.1 (64bit) on [Thu Dec 31 18:07:43 2020] ***
compiled with version: 5.4.0 20160609 on 17 December 2020 08:16:00
os: Linux-4.4.0-198-generic #230-Ubuntu SMP Sat Nov 28 01:30:29 UTC 2020
nodename: 10-9-60-142
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /home/ubuntu/chengping/artline-demo-main
writing pidfile to uwsgi.pid
detected binary path: /home/ubuntu/songcheng/venv3.0/bin/uwsgi
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
chdir() to /home/ubuntu/chengping/artline-demo-main/
your processes number limit is 63944
your memory page size is 4096 bytes
detected max file descriptor number: 1000000
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:5000 fd 3
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
Python version: 3.7.1 (default, Dec 17 2020, 15:23:31) [GCC 5.4.0 20160609]
Set PythonHome to /home/ubuntu/songcheng/venv3.0/
Python main interpreter initialized at 0xc51680
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 145840 bytes (142 KB) for 1 cores
*** Operational MODE: single process ***
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 14225)
spawned uWSGI worker 1 (pid: 14226, cores: 1)
*** Stats server enabled on 0.0.0.0:8383 fd: 9 ***
Traceback (most recent call last):
File "./app_cpu.py", line 76, in
but, In the same situation, I can run my service in Python.
Actually, I faced that issue too :(
I googled a lot and find no solution, so let's keep this issue opened and continue to research.
Happy new year!
Same issue. Wait for a update :)
Same too. Wait for a update :)
When I start by DJango,python manage.py runserver
, it's ok