You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#dataset1 = fo.Dataset("my_first_dataset")
# A name for the dataset
# The directory containing the source images
data_path = "img/images"
# The path to the COCO labels JSON file
labels_path = "img/annotations/instances_default.json"
# Import the dataset
dataset = fo.Dataset.from_dir(
dataset_type=fo.types.COCODetectionDataset,
data_path=data_path,
labels_path=labels_path,
)
session = fo.launch_app(dataset= dataset,port=5151)
session.wait(-1)
Could not connect session, trying again in 10 seconds
** And i get this in the webbrowser**
System information
Openshift
OS Platform and Distribution Linux Ubuntu 22.04:
Python version 3.11.8
FiftyOne version 0.23.5:
FiftyOne installed from pip:
Mongodb version 7.0.8 bitnami helmchart
Other info/logs
When i look at the localhost page i see that i get a 403 error. I can see that it's hosting fiftyone app but the data is missing.
I see this:
Welcome to FiftyOne!
It looks like you are not connected to a session
Local sessions
Remote sessions
Local sessions
Here's how to connect to a local session from Python:
import fiftyone as fo
# Load your FiftyOne dataset
dataset = fo.load_dataset(...)
# Launch the app
session = fo.launch_app(dataset, port=NaN)
Willingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another
member of your organization be willing to contribute a fix for this bug to the
FiftyOne codebase?
Yes. I can contribute a fix for this bug independently
Yes. I would be willing to contribute a fix for this bug with guidance
from the FiftyOne community
[X ] No. I cannot contribute a bug fix at this time
The text was updated successfully, but these errors were encountered:
Hi @Enzawdo. Based in the information you've provided, it sounds like you are trying to connect to your session through a proxy. We have documentation for that here.
There may also be an issue with the dataset you are trying to launch. Does launching the session without dataset resolve the issue?
Instructions
Thank you for submitting an issue. Please refer to our
issue policy
for information on what types of issues we address.
example:
Describe the problem
Describe the problem clearly here. Include descriptions of the expected
behavior and the actual behavior.
Code to reproduce issue
I have installed mongodb on my namespace in kubernetes.
To connect to it i use:
export FIFTYONE_DATABASE_URI=mongodb://root:root@mongodb_url
This is the output
App launched. Point your web browser to http://localhost:5151
Could not connect session, trying again in 10 seconds
** And i get this in the webbrowser**
System information
Other info/logs
When i look at the localhost page i see that i get a 403 error. I can see that it's hosting fiftyone app but the data is missing.
I see this:
Willingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another
member of your organization be willing to contribute a fix for this bug to the
FiftyOne codebase?
from the FiftyOne community
The text was updated successfully, but these errors were encountered: