datamllab / tods

TODS: An Automated Time-series Outlier Detection System
http://tods-doc.github.io
Apache License 2.0
1.45k stars 194 forks source link

UI #32

Open bappctl opened 3 years ago

bappctl commented 3 years ago

It says supports UI. How to launch the UI?

lhenry15 commented 3 years ago

You can try the UI with the repo here After initiate the UI, click File --> Open Recent --> Select .tods_default.ows There will have some instructions for you to build up a pipeline with the GUI. We are still testing and merging newly develop function with it, will officially release it with the next version of TODS (currently in dev branch).

bappctl commented 3 years ago

Thank you @lhenry15

bappctl commented 3 years ago

With python==3.5 get below error while install running pip install -e . ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/home/software/anaconda3/lib/python3.5/site-packages/chardet-4.0.0.dist-info/METADATA'

With python==3.6 it installs fine but on running ~/tods-gui$ tods-gui image Is there any other setting do be done here in 3.6 environment

lhenry15 commented 3 years ago

Could you provide more details like which version of tods did you install?

bappctl commented 3 years ago

There are two issue with tods-gui

Conda Environment: I have two environments Env1: with Python 3.6 where tods installed (tods 0.0.2) Env2: with Python3.5 to run tods-gui

In Env2 (Python 3.5) when try to install tods-gui get below error on pip install -e .

(tods-ui)/tods-gui$ python --version
Python 3.5.6 :: Anaconda, Inc.

(tods-ui)/tods-gui$ pip install -e .
Requirement already satisfied: networkx in /home/software/anaconda3/lib/python3.7/site-packages (from Orange3==3.27.0.dev0+unknown) (2.5.1)
Requirement already satisfied: pip>=9.0 in /home/software/anaconda3/lib/python3.7/site-packages (from Orange3==3.27.0.dev0+unknown) (21.0.1)
Requirement already satisfied: scipy>=0.16.1 in /home/software/anaconda3/lib/python3.7/site-packages (from Orange3==3.27.0.dev0+unknown) (1.4.1)
Collecting httpx~=0.14.0
  Using cached httpx-0.14.3-py3-none-any.whl (62 kB)
Collecting httpx~=0.14.0
  Using cached httpx-0.14.3-py3-none-any.whl (62 kB)
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/home/software/anaconda3/lib/python3.7/site-packages/chardet-4.0.0.dist-**info/METADATA'

If upgrade the Env2 to Python 3.6 and install tods-gui installs fine but on running ~/tods-gui$ tods-gui

image

In addition is there any additional config on gui side to be done since tods and tods-gui use two different env because of python version