Coder Social home page Coder Social logo

Comments (6)

amlankar avatar amlankar commented on May 22, 2024

Hi @Jacoobr, I tried but failed to reproduce this bug.

The only difference I see is that your flask app (backend) is running in development mode with the debugger turned on. Can you try running it in production mode with the debugger turned off?

from polyrnn-pp-pytorch.

Jacoobr avatar Jacoobr commented on May 22, 2024

Hi, @amlankar ,thanks for your reply. i changed the environment mode to production and turned off the debuger mode. but the issue still as the same. Can you tell me what browser you used on your service?, bth, i used google chrome browser with Ubuntu16.04 environment.

from polyrnn-pp-pytorch.

amlankar avatar amlankar commented on May 22, 2024

I'm sorry, I still cannot reproduce this issue on my own machine. I followed the exact instructions from the README. Here is a screenshot from running the code from a fresh download.

NOTES

  • Since I ran this on my (very small) CPU, it took around 20 seconds to run, as you can see from the log on the backend server process. (top of the two bottom right terminals on the screen)
  • The globalFolder variable in the js has to be an absolute path (bottom left terminal on the screen)

demo_running

UPLOADING AN IMAGE
Uploading images also works fine for me, here is a screenshot of me uploading the screenshot I posted above on the tool. You can see there's a upload request on the backend logs.

demo_upload

from polyrnn-pp-pytorch.

Jacoobr avatar Jacoobr commented on May 22, 2024

Hi, @amlankar. Thanks for your patience working throught on my issue. I fixed my problem by runing bakend and frontent separately on different two hosts. My issue of previous may caused by runing bakend and frontent on my distant server and using ssh tools like 'MobaXterm' in my lab host to communicate. So, the frontent didn't work when i called ip:8000 on my lab host.

from polyrnn-pp-pytorch.

troylhy1991 avatar troylhy1991 commented on May 22, 2024

Hi, @Jacoobr . Same problem here. The loader logo keeps blinking. How do u fix the problem separating backend and frontend on different hosts. I'm using mobaxterm and ssh to the lab server. Thanks!

from polyrnn-pp-pytorch.

Flames60 avatar Flames60 commented on May 22, 2024

Hi, @Jacoobr . Same problem here. The loader logo keeps blinking. How do u fix the problem separating backend and frontend on different hosts. I'm using mobaxterm and ssh to the lab server. Thanks!

I have fix it. You just need to edit the value of 'backend' in 'index.html', for example, use the IP address rather than 'localhost'.

from polyrnn-pp-pytorch.

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.