Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Conversation

@fksato
Copy link
Member

@fksato fksato commented Mar 29, 2019

No description provided.

@mschrimpf
Copy link
Member

please merge upstream again, travis/awscli were giving us a hard time

Copy link
Member

@mschrimpf mschrimpf left a comment

Choose a reason for hiding this comment

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

Looks good overall, I left a few comments in the code.
Please also remove tests/__pycache__

temporal_maps[region] = time_bin_regressor
return temporal_maps

def _set_region_coords(self, activations, layer_regions):
Copy link
Member

Choose a reason for hiding this comment

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

I'll work on a fix for this soon, so that you hopefully won't need this here anymore (brain-score/brainio_base#1)

if type(variation) is not list:
variation = [variation]
assembly_dir = path.join(path.dirname(__file__), 'test_temporal_assemblies')
test_assembly_filename = 'temporal_test_{}_var{}.pkl'.format(region, ''.join(str(v) for v in variation))
Copy link
Member

@mschrimpf mschrimpf Apr 4, 2019

Choose a reason for hiding this comment

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

you can also do f'temporal_test_{region}_var{"".join(str(v) for v in variation)}.pkl'

expected_region_count = len(expected_region)
expected_time_bin_count = len(training_assembly.time_bin.values)

extractor = pytorch_custom()
Copy link
Member

Choose a reason for hiding this comment

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

use model_ctr

temporal_model = TemporalModelCommitment('', extractor, layers)
# commit region:
temporal_model.commit_region(region, commit_assembly)
temporal_model.do_commit_region(region)
Copy link
Member

Choose a reason for hiding this comment

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

remove

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants