Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in loading file at #30

Open
CSYslient opened this issue Jun 25, 2019 · 4 comments
Open

Error in loading file at #30

CSYslient opened this issue Jun 25, 2019 · 4 comments

Comments

@CSYslient
Copy link

CSYslient commented Jun 25, 2019

@ amlankar,hi,I had a problem preparing the json file,Could you help me find out what the problem is?
My input instructions are as follows:python Scripts/data/change_paths.py --city_dir /home/csy/polyrnnpp-pytorch/cityscapes/leftImg8bit --json_dir /home/csy/polyrnnpp-pytorch/cityscapes/gtFine --out_dir /home/csy/polyrnnpp-pytorch/json_out
2019-06-25 17-07-03屏幕截图

Thank you
Appreciative for your reply.

@qianxi0617
Copy link

There are my command lines that running the backent and frontent separately:
backent:
python tool.py --exp ../Experiments/tool.json --reload ggnn_epoch5_step14000.pth --port 5001 --image_dir Tool/frontend/static/img/
frontend:
python -m http.server

when I upload the picture, I meet a problem:
127.0.0.1 - - [26/Jun/2019 17:14:10] "OPTIONS /upload_v2 HTTP/1.1" 200 -
127.0.0.1 - - [26/Jun/2019 17:14:11] "POST /upload_v2 HTTP/1.1" 500 -
FileNotFoundError: [WinError 3] The system could not find the specified path: 'Tool/frontend/static/img/'

@amlankar
Copy link
Member

@qianxi0617 please run the code from the top level directory. i.e. python Tool/tool.py ....

From the Tool directory, the path Tool/frontend/static/img is not reachable

@amlankar
Copy link
Member

@CSYslient looks like your json_dir is incorrect. Please point json_dir to the data that is downloaded with our package (our modified json files have GT made specifically for polyrnn training)

@CSYslient
Copy link
Author

@ amlankar,hi,I have modified the path of the json file and the above problem still occurs.The instruction I typed in was : python Scripts/data/change_paths.py --city_dir G:\polyrnn-pp-pytorch\code\DataProvider\leftImg8bit_trainvaltest\leftImg8bit --json_dir G:\polyrnn-pp-pytorch\data\cityscapes_final_v5 --out_dir G:\polyrnn-pp-pytorch\data\output
123
Thank you
Appreciative for your reply

@CSYslient CSYslient reopened this Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants