当我使用sudo运行celery worker时,出现以下错误:
Running a worker with superuser privileges when the
worker accepts messages serialized with pickle is a very bad idea!
If you really want to continue then you have to set the C_FORCE_ROOT
environment variable (but please think about this before you do).
User information: uid=0 euid=0 gid=0 egid=0
Run Code Online (Sandbox Code Playgroud)
我的C_FORCE_ROOT环境变量也是true:
echo $C_FORCE_ROOT
true
Run Code Online (Sandbox Code Playgroud)
更多信息:
Python-> 2.7.6
celery-> 3.1.23(Cipater)
OS-> Linux(Ubuntu 14.04)
我应该如何用sudo运行芹菜?我知道它并不安全,但出于某些原因,我确实需要这样做!
是否可以在Google Cloud ML Engine中训练模型而无需将数据集转换为TFRecords?