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

run_server.py can't work #3

Open
ntz2000 opened this issue Jan 3, 2024 · 2 comments
Open

run_server.py can't work #3

ntz2000 opened this issue Jan 3, 2024 · 2 comments

Comments

@ntz2000
Copy link

ntz2000 commented Jan 3, 2024

If usepython explorer/run_server.py and it will show an error like "No module named 'densely_captioned_images", so I move run_server.py to DCI/dataset. And it can run successfully but the website 127.0.0.1:3000 has nothing.

@JackUrb
Copy link
Contributor

JackUrb commented Jan 3, 2024

Hi @ntz2000 - have you run the download script in DCI/dataset/densely_captioned_images/dataset/scripts/ first? You also need to visit http://127.0.0.1:3000/0 to kick things off.

@bordesf - we should add a readme to the explorer directory with the following:

# Explorer
## Setup
To use the explorer, you must first install the DCI dataset module and download the DCI dataset. Then, you'll additionally need to `pip install flask`.

Please refer to the main README for more instructions on setup.

@ntz2000
Copy link
Author

ntz2000 commented Jan 3, 2024

Thanks very much. I directly downloaded from the url before use. And now I have solved the problem by using 'pip install -e .' at DCI/dataset. It's really important to add the '.' at last, or the command will not work properly (it will show an error like "No module named 'densely_captioned_images").

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

2 participants