Giter VIP home page Giter VIP logo

Comments (7)

RobRomijnders avatar RobRomijnders commented on August 15, 2024

Could you show the error?

from lstm_tsc.

zohairzohair4 avatar zohairzohair4 commented on August 15, 2024

Here is the error:
` File "", line 1, in

File "C:\Program Files\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 866, in runfile
execfile(filename, namespace)

File "C:\Program Files\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File "C:/kaggle/thesis/sheraz/Bachelor_thesis_code/Bachelor_thesis/lstm_tsc.py", line 168, in
result = sess.run([cost,merged,accuracy],feed_dict = {input_data: X_batch, targets: y_batch, keep_prob:1})

File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 766, in run
run_metadata_ptr)

File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 951, in _run
fetch_handler = _FetchHandler(self._graph, fetches, feed_dict_string)

File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 407, in init
self._fetch_mapper = _FetchMapper.for_fetch(fetches)

File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 230, in for_fetch
return _ListFetchMapper(fetch)

File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 337, in init
self._mappers = [_FetchMapper.for_fetch(fetch) for fetch in fetches]

File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 337, in
self._mappers = [_FetchMapper.for_fetch(fetch) for fetch in fetches]

File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 227, in for_fetch
(fetch, type(fetch)))

TypeError: Fetch argument None has invalid type <class 'NoneType'>`

from lstm_tsc.

RobRomijnders avatar RobRomijnders commented on August 15, 2024

It has got to do with the updates in Tensorboard. Will fix it over Christmas break:)

from lstm_tsc.

RobRomijnders avatar RobRomijnders commented on August 15, 2024

How does it work for you now?

from lstm_tsc.

contango00 avatar contango00 commented on August 15, 2024

Rob - First, great code/project. Second, I get the same error/same location with the new code. Running Tensorflow r0.12.

Any thoughts?

from lstm_tsc.

jdewees avatar jdewees commented on August 15, 2024

Has to do with the section sess.run([model.cost, model.merged, model.accuracy], ....
model.merged is none as no summaries are added... remove it and the corresponding summ parameter and it should run

from lstm_tsc.

contango00 avatar contango00 commented on August 15, 2024

from lstm_tsc.

Related Issues (16)

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.