Coder Social home page Coder Social logo

Comments (6)

Timonzimm avatar Timonzimm commented on August 15, 2024 1

I think these lines are the ones involved in the issue:
https://github.com/torrvision/crayon/blob/master/server/server.py#L252-L256

remove_all_experiments tries to get_experiment_names but the function retrieves only experiments which have data. This seems like incorrect logic to me, we would like to return all experiments, no matter if they have data associated or not.

from crayon.

edran avatar edran commented on August 15, 2024

I'll do this when I refactor the server post-ICML.

from crayon.

jtoy avatar jtoy commented on August 15, 2024

I think this is the same issue I am, having, to make things more concrete, you can see the issue I have here:
I get this error:
ValueError: Something went wrong. Server sent: 'scalev7' experiment already exists.
`

cc = CrayonClient(hostname="localhost")
print(cc.get_experiment_names())
if args.name in cc.get_experiment_names():
    cc.remove_experiment(args.name)
cc_server = cc.create_experiment(args.name)`

here is the output of get_experiment_names:
['scalev3', 'scalev5', 'scalev4']

from crayon.

ytian81 avatar ytian81 commented on August 15, 2024

Come across the same bug. It seems that cc.get_experiment_names and cc.remove_all_experiments don't function well.

from crayon.

jtoy avatar jtoy commented on August 15, 2024

from crayon.

IMG-PRCSNG avatar IMG-PRCSNG commented on August 15, 2024

Bumping this up.
Experiment with zero data points doesnt get listed in get_experiment_names(), but still exists on the server.
Removing and creating seems to be the go. For now.

from crayon.

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.