How to connect the localhost to label?
Flames60 opened this issue · comments
Wow996 commented
I have run the backend and frontend, and they have printed these content:
1.Backend
Building dataloaders
Dataset Options: {'batch_size': 1, 'max_poly_len': 71, 'grid_side': 28, 'img_side': 224, 'flip': False, 'random_start': False, 'random_context': [0.15, 0.15]}
Building polyrnnpp with opts:
{'mode': 'tool', 'max_poly_len': 71, 'temperature': 0.0, 'use_evaluator': True, 'use_bn_lstm': True, 'use_ggnn': True, 'ggnn_n_steps': 5, 'ggnn_state_dim': 1024, 'ggnn_grid_size': 112, 'ggnn_output_dim': 15, 'use_separate_encoder': False, 'return_attention': False, 'dataset': {'train_val': {'batch_size': 1, 'max_poly_len': 71, 'grid_side': 28, 'img_side': 224, 'flip': False, 'random_start': False, 'random_context': [0.15, 0.15]}}}
Building encoder
Building first vertex network
Building convlstm
Building Evaluator
Building GGNN
Building GGNN Feature Encoder
Reloading full model from: /data/weibo/code/polyrnn-pp-pytorch/models/mle_epoch9_step49000.pth
* Serving Flask app "tool" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)
2.Frontend
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
Then how can I label the images? For example, I run the server on 192.168.1.10, but I cannot get into the page like below by type 192.168.1.10:8080 or 192.168.1.10:8000 or 127.0.0.1:8000.
Looking forward to your reply.
Wow996 commented
Maybe it is because I run it on a host I use vpn to connect, I will try it on my own host tomorrow.
Wow996 commented
Got it!