Coder Social home page Coder Social logo

Comments (3)

i207M avatar i207M commented on June 18, 2024

Sorry for the late response. It's been a hectic month for me. First, thanks for your interest in using our benchmark and digging into the implementation details to help.

Main issue

Your diagnosis is right. The reason is that, RAR is implemented by calling train multiple times, so multiple on_train_end as well. This can be fixed by modifying the callbacks so they don't produce outputs when there's no history. But I feel like there will be another issue that, once reached log_every epochs, each train call (for example every 10 epochs) will produce some outputs, which may be too much. So I suggest also checking log_every in on_train_end and if the last call is shorter than log_every, skip this run. What's your opinion?

Other issues

Agree with things about argparse and docs.

The summary issue is related to DeepXDE which defaults to tensorflow. This will fix it

os.environ["DDEBACKEND"] = "pytorch"

I will check the RAR implementation issue later soon. Yes, there is a mismatch between the algorithm and the implementation. The points should be sampled from the real domain instead of X_train. We will work out a fix for this.

Sorry we are unable to provide the exact scripts to generate table results, but you can find some useful functions in scr/utils/plot.py and scr/utils/summary.py.

Thank you once again and PRs are more than welcome.

from pinnacle.

svdcvt avatar svdcvt commented on June 18, 2024

Hi! Thanks for your reply.
In the end, I just wrote a callback for resampling. I also added other algorithms for adaptive sampling. I might do a pull-request at some point later when it is ready and proved to work (currently writing the paper). But you can check my fork for that.

from pinnacle.

i207M avatar i207M commented on June 18, 2024

That's great. Please do leave an arxiv link if available. Good luck with your paper!

from pinnacle.

Related Issues (8)

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.