Closed russelljjarvis closed 1 year ago
Also the filter gratings example does work though.
here is the config variable contents:
{'manifest': {'workingdir': '/home/rjjarvis/git/bmtk/examples/filter_movie', 'configdir': '/home/rjjarvis/git/bmtk/examples/filter_movie', 'configfname': '/home/rjjarvis/git/bmtk/examples/filter_movie/config.circuit.json', 'time': '10-29-42', 'date': '2023-02-07', 'datetime': '2023-02-07_10-29-42', 'BASE_DIR': '.', 'COMPONETS_DIR': './../filter_components', 'NETWORK_DIR': './network'}, 'run': {'tstop': 2000.0, 'dt': 0.1, 'overwrite_output_dir': True}, 'target_simulator': 'LGNModel', 'conditions': {'jitter_lower': 0.75, 'jitter_upper': 1.25}, 'inputs': {'LGN_spikes': {'input_type': 'movie', 'module': 'graiting', 'row_size': 120, 'col_size': 240, 'gray_screen_dur': 0.5, 'cpd': 0.04, 'temporal_f': 4.0, 'contrast': 0.8, 'evaluation_options': {'downsample': 1, 'separable': True}}}, 'output': {'log_file': '/home/rjjarvis/git/bmtk/examples/filter_movie/output/log.txt', 'output_dir': '/home/rjjarvis/git/bmtk/examples/filter_movie/output', 'rates_csv': 'rates.csv', 'spikes_csv': 'spikes.csv', 'spikes_file': '/home/rjjarvis/git/bmtk/examples/filter_movie/output/spikes.h5', 'overwrite_output_dir': True}, 'network': 'config.circuit.json', 'config_path': '/home/rjjarvis/git/bmtk/examples/filter_movie/config.simulation.json', 'config_dir': '/home/rjjarvis/git/bmtk/examples/filter_movie', 'components': {'filter_models_dir': './../filter_components/model_templates'}, 'networks': {'nodes': [{'nodes_file': './network/lgn_nodes.h5', 'node_types_file': './network/lgn_node_types.csv'}]}}
This is the filter graitings config: {'manifest': {'workingdir': '/home/rjjarvis/git/bmtk/examples/filter_graitings', 'configdir': '/home/rjjarvis/git/bmtk/examples/filter_graitings', 'configfname': '/home/rjjarvis/git/bmtk/examples/filter_graitings/config.circuit.json', 'time': '10-31-39', 'date': '2023-02-07', 'datetime': '2023-02-07_10-31-39', 'BASE_DIR': '.', 'COMPONENT_DIR': './../filter_components', 'NETWORK_DIR': './network'}, 'run': {'tstop': 2000.0, 'dt': 0.1, 'overwrite_output_dir': True}, 'target_simulator': 'LGNModel', 'conditions': {'jitter_lower': 0.75, 'jitter_upper': 1.25}, 'inputs': {'LGN_spikes': {'input_type': 'movie', 'module': 'graiting', 'row_size': 120, 'col_size': 240, 'gray_screen_dur': 0.5, 'cpd': 0.04, 'temporal_f': 4.0, 'contrast': 0.8, 'evaluation_options': {'downsample': 1, 'separable': True}}}, 'output': {'log_file': '/home/rjjarvis/git/bmtk/examples/filter_graitings/output/log.txt', 'output_dir': '/home/rjjarvis/git/bmtk/examples/filter_graitings/output', 'rates_csv': 'rates.csv', 'spikes_csv': 'spikes.csv', 'spikes_file': '/home/rjjarvis/git/bmtk/examples/filter_graitings/output/spikes.h5', 'overwrite_output_dir': True}, 'network': 'config.circuit.json', 'config_path': '/home/rjjarvis/git/bmtk/examples/filter_graitings/config.simulation.json', 'config_dir': '/home/rjjarvis/git/bmtk/examples/filter_graitings', 'components': {'filter_models_dir': './../filter_components/model_templates'}, 'networks': {'nodes': [{'nodes_file': './network/lgn_nodes.h5', 'node_types_file': './network/lgn_node_types.csv'}]}}
I noticed that COMPONENT_DIR is spelled as 'COMPONETS_DIR" in the top config, but not the bottom one. Perhaps it's unable to find the filter model dynamic params files?
I think you are right.
:~/git/bmtk/examples/filter_movie$ python run_filternet.py
2023-02-07 10:21:44,524 [INFO] Created log file
movie added