GithubHelp home page GithubHelp logo

Comments (6)

kkmcgg avatar kkmcgg commented on May 25, 2024

Perhaps we can use your branch to try and implement the sub-package structure while I roll back to the original setup in our main branch?

from aestheta.

donuty-party avatar donuty-party commented on May 25, 2024

@kevinkmcguigan, this is because of the relative import (from .module import Class). You need to run the script as python -m Library.core instead of python Library/core.py. I want to break code out of core.py to prevent it from getting overwhelming. Do you of a way to do that without requiring relative imports?

By the way, this concerns my pull request, too. If you merge that, the same thing will happen.

from aestheta.

donuty-party avatar donuty-party commented on May 25, 2024

@kevinkmcguigan Oh, never mind. Absolute imports work fine and don't require us to change how we run the script. I have fixed this in my branch.

from aestheta.

kkmcgg avatar kkmcgg commented on May 25, 2024

oh very good. We will more than likely merge branches shortly I just keep getting pulled away from a deep dive sorry about that.
I'm going to take this opportunity to try and set up the library as a proper python package as well - something I don't typically do myself- which should help with handling dependencies and such. l'll leave this open until after the merge

from aestheta.

donuty-party avatar donuty-party commented on May 25, 2024

Fixed in 02a5267. This restores the original loadModel() and saveModel() functions, but in so doing, removes the model load by name functionality. I have moved that to the 82-load-model-by-name branch and reopened issue #82.

from aestheta.

kkmcgg avatar kkmcgg commented on May 25, 2024

Thanks for resolving this - we'll sort things out in your branch and move them over to the main.

from aestheta.

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.