Git Product home page Git Product logo

dts's People

Contributors

albertogaspar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dts's Issues

ImportError: Error while finding loader for 'tensorflow' in ENV2

When installing all dependencies according to ENV 2, i get the following error:

Using TensorFlow backend.
Traceback (most recent call last):
  File "C:\PATH\Python\Python37\lib\pkgutil.py", line 493, in find_loader
    spec = importlib.util.find_spec(fullname)
  File "C:\PATH\Python\Python37\lib\importlib\util.py", line 114, in find_spec
    raise ValueError('{}.__spec__ is None'.format(name))
ValueError: tensorflow.__spec__ is None

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "recurrent.py", line 15, in <module>
    from dts import config
  File "c:\PATH\dts\dts\__init__.py", line 10, in <module>
    from dts.utils.logger import logger
  File "c:\PATH\dts\dts\utils\__init__.py", line 3, in <module>
    from dts.utils.experiments import DTSExperiment, log_metrics, run_single_experiment, run_grid_search
  File "c:\PATH\dts\dts\utils\experiments.py", line 1, in <module>
    from sacred import Experiment
  File "C:\PATH\dts\.venv\lib\site-packages\sacred\__init__.py", line 13, in <m
odule>
    from sacred.experiment import Experiment
  File "C:\PATH\dts\.venv\lib\site-packages\sacred\experiment.py", line 13, in
<module>
    from sacred.arg_parser import format_usage, get_config_updates
  File "C:\PATH\dts\.venv\lib\site-packages\sacred\arg_parser.py", line 16, in
<module>
    from sacred.serializer import restore
  File "C:\PATH\dts\.venv\lib\site-packages\sacred\serializer.py", line 8, in <
module>
    from sacred import optional as opt
  File "C:\PATH\dts\.venv\lib\site-packages\sacred\optional.py", line 40, in <m
odule>
    has_tensorflow = modules_exist("tensorflow")
  File "C:\PATH\dts\.venv\lib\site-packages\sacred\utils.py", line 656, in modu
les_exist
    return all(module_exists(m) for m in modnames)
  File "C:\PATH\dts\.venv\lib\site-packages\sacred\utils.py", line 656, in <gen
expr>
    return all(module_exists(m) for m in modnames)
  File "C:\PATH\dts\.venv\lib\site-packages\sacred\utils.py", line 652, in modu
le_exists
    return pkgutil.find_loader(modname) is not None
  File "C:\Users\carlv\AppData\Local\Programs\Python\Python37\lib\pkgutil.py", line 499, in find_loader
    raise ImportError(msg.format(fullname, type(ex), ex)) from ex
ImportError: Error while finding loader for 'tensorflow' (<class 'ValueError'>: tensorflow.__spec__ is None)

Missing 1 required positional argument: 'log_dir'

Hello, I am trying to run the tcn.py example and I am facing some difficulties.
with
--add_config [...]/config/tcn.yaml --observer file

It returns

  File "[...]\dts\examples\tcn.py", line 184, in <module>
    observer_type=args.observer)

TypeError: run_single_experiment() missing 1 required positional argument: 'log_dir'

Can you please provide some fruitful input?

Paper results show different forecast horizon than reported

I'm currently reproducing the paper results for the UCI dataset, using the GRU architecture.
My results were almost identical to them:
RMSE: 0.745 ± 0.001
MAE: 0.529 ± 0.002

But looking at the recurrent.yaml file used, the output_sequence_length seems to be only 24 steps ahead:

train: False
dataset: 'uci'
exogenous: False
epochs: 1
batch_size: 1024
input_sequence_length: 96
output_sequence_length:  24
dropout: 0.0
layers: 1
units: 50
learning_rate: 0.001
cell: 'gru'
l2: 0.0005
MIMO: True
detrend: True

Due to the UCI dataset having 15min sampling frequency, this means the model is forecasting only 6h into the future, instead of the 24h reported.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.