Giter Site home page Giter Site logo

parkr's Issues

Fatal bug when trying to export training results

When trying to export training without providing validation data a fatal error occurs.

Line 277 in train.export_file.write("f{training_loss}, {validation_loss}\n")
UnboundLocalError: local variable 'validation_loss' referenced before assignment

Fatal error on more than one output node

Fatal error when trying to train with more than one output node.

(env) C:\Users\olive\OneDrive\Programming\Python\Parkr>py main.py
Traceback (most recent call last):
  File "C:\Users\olive\OneDrive\Programming\Python\Parkr\main.py", line 16, in <module>
    my_network.train(epochs, (training_data, expected_data))
  File "C:\Users\olive\OneDrive\Programming\Python\Parkr\src\parkr\network.py", line 180, in train
    row_weight_change, row_bias_change = self.__generate_changes(activated_forward_pass, expected_batches[batch_count][i], step_size, prev_changes=(prev_weight_change, prev_bias_change), **kwargs)  # generate the changes required        
  File "C:\Users\olive\OneDrive\Programming\Python\Parkr\src\parkr\network.py", line 251, in __generate_changes
    delta = np.dot((expected-activated_result[i]), derived)
  File "<__array_function__ internals>", line 5, in dot
ValueError: shapes (1,2) and (1,2) not aligned: 2 (dim 1) != 1 (dim 0)

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.