Giter VIP home page Giter VIP logo

Comments (5)

EmanueleLM avatar EmanueleLM commented on July 17, 2024 1

I had the same problem, on an apt based system (like Ubuntu) an "sudo apt-get install tmux" solves the problem.

from deep-neuroevolution.

HosinLau avatar HosinLau commented on July 17, 2024

Emanuel, thanks for replying. I am on Windows so the sudo apt-get does not work for me. Is there an equivalent here?

from deep-neuroevolution.

EmanueleLM avatar EmanueleLM commented on July 17, 2024

I'm sure there is a workaround for tmux, but then I think you may face other issues like installing redis, tensorflow and making it all work on Windows. I tried myself to run this code on Windows10, then I ended up installing a virtual machine with vanilla Ubuntu (works like a piece of cacke and in 30 minutes you have a working instance, but you loose a lot in terms of performances), and finally installed Ubuntu 19 on bare metal. In the last two cases it's enough an apt-get install so my strong advice is to install at least Ubuntu.

Another solution is to rent a machine on gcp, ibm cloud or aws I'm currently working with an instance with 90 vcores on gcp and Ubuntu 18.04

Emanuele

from deep-neuroevolution.

HosinLau avatar HosinLau commented on July 17, 2024

Thanks, Emanuele. I am tired of the lagging of VMs. I will try out other solutions.

from deep-neuroevolution.

EmanueleLM avatar EmanueleLM commented on July 17, 2024

Of course you can see which commands tmux raises in order to spawn the various 'screens' and do it by yourself without tmux. I make you an example with redis spawn that refers to 'local_redis_run.sh'':

#!/bin/sh
tmux new -s redis -d
tmux send-keys -t redis 'redis-server redis_config/redis_master.conf' C-m
tmux split-window -t redis
tmux send-keys -t redis 'redis-server redis_config/redis_local_mirror.conf' C-m
tmux a -t redis

You can replace this config file with two distinct commands (possibly on two different consoles):

redis-server redis_config/redis_master.conf
redis-server redis_config/redis_local_mirror.conf

from deep-neuroevolution.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.