Git Product home page Git Product logo

Comments (9)

alain2208 avatar alain2208 commented on May 16, 2024 2

solved by myslef

from ludwig.

w4nderlust avatar w4nderlust commented on May 16, 2024

Thanks @alain2208 ! it looks like your anaconda is missing h5py, can you try to install it and retry please?

from ludwig.

alain2208 avatar alain2208 commented on May 16, 2024

it was not missing but in 2.7.1 after upgrade 2.9.0 no more this error , but another related to timeseriers >>> import ludwig
Traceback (most recent call last):
File "", line 1, in
File "d:\Anaconda3\lib\site-packages\ludwig_init_.py", line 16, in
from ludwig.api import LudwigModel
File "d:\Anaconda3\lib\site-packages\ludwig\api.py", line 39, in
from ludwig.data.postprocessing import postprocess_df, postprocess
File "d:\Anaconda3\lib\site-packages\ludwig\data\postprocessing.py", line 19, in
from ludwig.features.feature_registries import output_type_registry
File "d:\Anaconda3\lib\site-packages\ludwig\features\feature_registries.py", line 25, in
from ludwig.features.bag_feature import BagBaseFeature
File "d:\Anaconda3\lib\site-packages\ludwig\features\bag_feature.py", line 24, in
from ludwig.features.base_feature import BaseFeature
File "d:\Anaconda3\lib\site-packages\ludwig\features\base_feature.py", line 21, in
from ludwig.models.modules.recurrent_modules import reduce_sequence
File "d:\Anaconda3\lib\site-packages\ludwig\models\modules\recurrent_modules.py", line 20, in
from tensorflow.contrib.rnn import MultiRNNCell, LSTMStateTuple
File "d:\Anaconda3\lib\site-packages\tensorflow\contrib_init_.py", line 98, in
from tensorflow.contrib import timeseries
File "d:\Anaconda3\lib\site-packages\tensorflow\contrib\timeseries_init_.py", line 40, in
from tensorflow.contrib.timeseries.python.timeseries import *
File "d:\Anaconda3\lib\site-packages\tensorflow\contrib\timeseries\python_init_.py", line 22, in
from tensorflow.contrib.timeseries.python.timeseries import *
File "d:\Anaconda3\lib\site-packages\tensorflow\contrib\timeseries\python\timeseries_init_.py", line 21, in <module

from tensorflow.contrib.timeseries.python.timeseries import saved_model_utils

File "d:\Anaconda3\lib\site-packages\tensorflow\contrib\timeseries\python\timeseries\saved_model_utils.py", line 28, i
n
from tensorflow.contrib.timeseries.python.timeseries import input_pipeline as _input_pipeline
File "d:\Anaconda3\lib\site-packages\tensorflow\contrib\timeseries\python\timeseries\input_pipeline.py", line 423, in

class CSVReader(ReaderBaseTimeSeriesParser):
File "d:\Anaconda3\lib\site-packages\tensorflow\contrib\timeseries\python\timeseries\input_pipeline.py", line 428, in
CSVReader
column_names=(feature_keys.TrainEvalFeatures.TIMES,
AttributeError: module 'tensorflow.contrib.timeseries.python.timeseries.feature_keys' has no attribute 'TrainEvalFeature
s'

from ludwig.

w4nderlust avatar w4nderlust commented on May 16, 2024

Sorry i have a hard time understanding the stacktrace without clear indentation and a frame of reference.
Can you please provide a reproducible example?

from ludwig.

alain2208 avatar alain2208 commented on May 16, 2024

I just open python intepreter and type import ludwig or i launch an experiment from the command lines with good parameters. Will ty to do more clean stack trace

from ludwig.

w4nderlust avatar w4nderlust commented on May 16, 2024

What version of TensorFlow have you installed? It looks like there is one import from TensorFlow that does not work, which is likely because of a version mismatch. Please try to use tesnorflow=1.12 and let me know if that solves the issue.

from ludwig.

alain2208 avatar alain2208 commented on May 16, 2024

the problem was double tensorflow install both tensorflow and tensorflow gpu was installed. I also had some other dependencies missing now it solved

from ludwig.

satwi95 avatar satwi95 commented on May 16, 2024

Can i install ludwig on windows ? and can i write in spyder

from ludwig.

w4nderlust avatar w4nderlust commented on May 16, 2024

@satwi95 I don't have a windows machine so I cannot test it, but in theory there should be nothing stopping you from doing both.

from ludwig.

Related Issues (20)

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.