Open AlnetharyTamim opened 3 years ago
The following error is generated when I run tods-gui in docker contrainter qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)
If not using docker, the error is qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)
I installed orange3 and the followed the instruction, but the problem is before installing tods-gui, the orange-canvas was working fine, but after I installed tods-gui, the canvas is showning an error message
Any suggestion
I tried to install orange==3.26.0 for compatibility but I reach the same error message
Is there any information show up in the terminal?
Thanks, it is working now. But, I still did not get the same widgets as described in the youtube video. Any sugesstion
Could you try "file" --> "open recent", to see if you are able to find the default pipeline? There are some instruction in the default pipeline. It will be a bit different from the one in video as it was a very early version and mostly serve for demo purpose (only few function would work).
When I run the default pipeline example of tods, I got the bellow error. Although that I used the correct version of d3m which is 2020.05.18
by checking d3m.__version__
. I am using python3.6 and venv as a virtual environment with pip version 19.3.1.
Not all provided hyper-parameters for the data preparation pipeline 79ce71bd-db96-494b-a455-14f2e2ac5040 were used: ['method', 'number_of_folds', 'randomSeed', 'shuffle', 'stratified']
{'error': "[StepFailedError('Step 6 for pipeline "
"384bbfab-4f6d-4001-9f90-684ea5681f5d failed.',)]",
'method_called': 'evaluate',
'pipeline': '<d3m.metadata.pipeline.Pipeline object at 0x7fdde588c2e8>',
'status': 'ERRORED'}
Could you try "file" --> "open recent", to see if you are able to find the default pipeline? There are some instruction in the default pipeline. It will be a bit different from the one in video as it was a very early version and mostly serve for demo purpose (only few function would work).
Unfortunately, there is nothing appear when select open recent. I think the problem is related to d3m, I need to be able to run the example in the tods repository without error When I run the code
import pandas as pd
from tods import schemas as schemas_utils
from tods import generate_dataset, evaluate_pipeline
table_path = 'datasets/yahoo_sub_5.csv'
target_index = 6 # what column is the target
metric = 'F1_MACRO' # F1 on both label 0 and 1
# Read data and generate dataset
df = pd.read_csv(table_path)
dataset = generate_dataset(df, target_index)
# Load the default pipeline
pipeline = schemas_utils.load_default_pipeline()
# Run the pipeline
pipeline_result = evaluate_pipeline(dataset, pipeline, metric)
print(pipeline_result)
I get the following error
Not all provided hyper-parameters for the data preparation pipeline 79ce71bd-db96-494b-a455-14f2e2ac5040 were used: ['method', 'number_of_folds', 'randomSeed', 'shuffle', 'stratified']
{'error': "[StepFailedError('Step 6 for pipeline "
"384bbfab-4f6d-4001-9f90-684ea5681f5d failed.',)]",
'method_called': 'evaluate',
'pipeline': '<d3m.metadata.pipeline.Pipeline object at 0x7fdde588c2e8>',
'status': 'ERRORED'}
This error arise although that I used the correct version of d3m which is 2020.05.18
by checking d3m.__version__
. I am using python3.6 and venv as a virtual environment with pip version 19.3.1.
Got it, the problem is due to the change of primitive_id. Building the pipelines in the tods/example manually will work. We are preparing a major update, will fix this problem very soon in the next version. Thanks!!
@AlnetharyTamim Can you share the steps that you followed to bring-up the tods-ui
Currently, the dataset format in gui NEED TO BE d3m dataset format (one example can be found in "tods/datasets/anomaly/yahoo_sub_5/yahoo_sub_5_dataset/", just load the whole folder). We are working on making it directly work with csv file, will release it later.
As suggested installed both tods (from dev branch not master) and tods-gui in same conda python 3.6 environment.
@lhenry15 could you give some instructions on how to replicate the video shown on the research group website? https://www.youtube.com/watch?v=H0bBXuDUe7s
Got it, the problem is due to the change of primitive_id. Building the pipelines in the tods/example manually will work. We are preparing a major update, will fix this problem very soon in the next version. Thanks!!
Thanks for sharing your great work! Are you still working on it? I installed the tods-gui recently, it seems the problem still exist.
I tried different trails to run the GUI but not success. 1: I first used docker image based on python3.5 and I used the command pip3 install -e . I got many problems with installing the packages. After some fightings, I was able to install them all but then when I run the command tods-gui, I got memory dump and I was not able to fix this error something like "qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found." 2: I used ubuntu 20.04 directly to install python3.5 and I also used python3.6 and followed the instruction but I reached the same error
Any help to be able to use the GUI? Thanks