Closed jp18813100494 closed 6 years ago
It looks like you did not start Ray, the distributed execution engine. You first need to run the command
ray start --head --redis-port=6379 --num-workers=18 (18 or however many workers you want)
If you did run it, the function socket.gethostbyname might not return the right local_ip address (depending on the system you have). In that case, you should just copy paste the redis address returned by the "ray start" command into the python script.
@hmania Thank you very much.I solved my problem at your suggestion!However I met another problem in the next step!Can you help me?
It looks like you don't have enough memory. You could try giving the "count" variable in line 31 a smaller value, which would translate into a smaller shared noise table. Ideally you would want that value large to keep samples independent, but you should see if making it smaller solves your problem.
@hmania You are right.I solved the problem by change the variable "count" smaller!
anyone know how to solve the problem?