Giter VIP home page Giter VIP logo

Comments (3)

dmolina avatar dmolina commented on July 20, 2024

Thank you for the feedback. I have not notice it. I will try to fix it.

from daemonmode.jl.

compleathorseplayer avatar compleathorseplayer commented on July 20, 2024

I think I discovered an easy fix!!
Just add the following at the beginning of your program:

include(arg)=Base.include(@__MODULE__,arg)

and everything seems to work.
[Note this is not function overloading - just appending a method for this situation]

I had a related problem, which I have been trying to fix similarly, but cannot.

When I try to load a saved Neural Network model (built in Flux) using BSON,
I get an undefined reference to NNlib, even if I explicitly load NNlib via 'using NNlib'.
This does not happen in an ordinary sess of Julia

Can you think of any approach to help?

Thanks for any ideas.

BTW this is a great idea and module!

PS I managed to get around the BSON problem by saving/loading with the Serialization
module, and it all now works great!

from daemonmode.jl.

dmolina avatar dmolina commented on July 20, 2024

Thank you for your solution. I have already included your proposal in the server DaemonMode, and I have register a new version with the fix. Also, now when there is any error the complete stack is shown.

Now you can use "include" function directly in the scripts that use DaemonMode, you do not need to define your include function, DaemonMode is doing that for you before the file is run.

from daemonmode.jl.

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.