Skip to content

Conversation

@theRealSuperMario
Copy link
Collaborator

  • now accepts new dataset configuriation
  • fix bug in initialization

* now accepts new dataset configuriation
* fix bug in initialization
# additional visualizations
default_additional_visualizations = retrieve(
config, "edexplore/visualizations", default=dict()
config, "edexplore/visualizations", default={}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://stackoverflow.com/a/5790954
indicates a performance improvement for this change. For consisntency however, I would not change only a single instance.
should we change dict() to {} then everywhere at leas in this file?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this does not matter. I was just fixing a bug when default was not given an empty dict.

module_name = retrieve(config, "datasets/train")
Dataset = get_obj_from_str(module_name)
else:
raise KeyError
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think we should also add the possiblity to explore the validation dataset? Maybe with a selector in the sidebar?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was only fixing a bug that got introduced here. I am not willing to implement a new feature at this point.

I think it is not important enough to implement this feature at the moment because you can just hack around it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants