A spiking neural network inspired by neuroscience and psychology for Western mode- and key-conditioned music learning and composition.
The 1 match
- [1] § Methods › Learning based on neural circuits evolution › Synaptic plasticity ↔ examples/Structure_Evolution/Adaptive_lsm/BrainCog-Version/tools/EnuGlobalNetwork.py, lines 210–242 · score 0.65 · post synaptic neuron, pre synaptic neuron, synapse, STDP, network, Spike
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 280 lines · 17 KB · Apache-2.0 · 1 match
- import pickle
- import time
- import numpy as np
- import torch
- import matplotlib.pyplot as plt
- import seaborn as sns
- from matplotlib import gridspec
- from AbstractLayerBMM import AbstractLayerBMM
- from EvolvableNeuralUnitStacked import EvolvableNeuralUnitStacked
- from Tools import get_data_path
- sns.set_style("darkgrid")
- class EnuGlobalNetwork(AbstractLayerBMM):
- """Network of ENUs implementation in PyTorch, where each synapse and neuron is modeled as an ENU. """
- def __init__(self, n_offspring, n_pseudo_env, n_input_neurons, n_hidden_neurons, n_output_neurons, n_syn_per_neuron):
- # offspring
- self.n_offspring = n_offspring
- self.n_pseudo_env = n_pseudo_env
- # input channels
- n_input_channels = 16
- self.n_input_channels = n_input_channels
- n_dynamic_param = 32
- # total neurons
- n_neurons = n_output_neurons + n_hidden_neurons
- self.n_neurons = n_neurons
- super().__init__(n_offspring, n_neurons, n_input_neurons, n_output_neurons)
- torch.random.manual_seed(0)
- #NOTE: batch dimension holds output of each neuron/synapse, allowing fast GPU MM
- #NOTE neurons far less than synapses, so can be relatively bigger rnn for little cost
- n_input_channels_neuron = 16
- n_input_neuron, n_output_neuron = n_input_channels_neuron, n_input_channels
- self.neurons = EvolvableNeuralUnitStacked(n_offspring, batch_size=self.n_neurons, n_input=n_input_neuron, n_dynamic_param=n_dynamic_param, n_output=n_output_neuron)
- #self.n_syn = next_power_of_2(int(n_neurons * (rel_connectivity*n_neurons)))
- self.n_syn_per_neuron = n_syn_per_neuron
- self.n_syn = n_neurons * n_syn_per_neuron
- n_input_syn, n_output_syn = n_input_channels * 2, n_input_channels_neuron # * 2 for neuron feedback (which same channel as n_channel input)
- self.synapses = EvolvableNeuralUnitStacked(n_offspring, batch_size=self.n_syn, n_input=n_input_syn, n_dynamic_param=n_dynamic_param, n_output=n_output_syn)
- # just randomly connect synapses to neurons
- self.synapse_connections = torch.randint(n_input_neurons + n_neurons, size=(n_neurons, n_syn_per_neuron), device='cuda', dtype=torch.long)
- # fixed predefined connection patterns
- if n_input_neurons==2 and n_output_neurons==2 and n_hidden_neurons==2:
- print("Fixed connection Network 2-2-2")
- self.synapse_connections = torch.tensor([[0, 1],
- [0, 1],
- [2, 3],
- [2, 3]], device='cuda', dtype=torch.long)
- elif n_input_neurons == 4 and n_output_neurons == 3 and n_hidden_neurons == 3 and n_syn_per_neuron==3:
- print("Fixed connection Network 4-3-3 (3syn)")
- self.synapse_connections = torch.tensor([[0, 1, 3],# hidden connections #4
- [0, 2, 3], #5
- [1, 2, 3],# 6
- [4, 5, 6], # output connections #7
- [4, 5, 6],#8
- [4, 5, 6]#9
- ], device='cuda', dtype=torch.long)
- elif n_input_neurons==5 and n_hidden_neurons==0 and n_output_neurons==4:
- print("Fixed connection Network 5-0-4 (5syn)")
- # neuron i connected to neuron j and k, neuron 0..input_neurons is index
- self.synapse_connections = torch.tensor([[0, 1, 2, 3, 4],# output connections
- [0, 1, 2, 3, 4],
- [0, 1, 2, 3, 4],
- [0, 1, 2, 3, 4]
- ], device='cuda', dtype=torch.long)
- elif n_input_neurons==1 and n_hidden_neurons==0 and n_output_neurons==2:
- print("Fixed connection Network 1-0-2 (1syn)")
- # neuron i connected to neuron j and k, neuron 0..input_neurons is index
- self.synapse_connections = torch.tensor([[0],# output connections
- [0]
- ], device='cuda', dtype=torch.long)
- elif n_input_neurons==4 and n_hidden_neurons==0 and n_output_neurons==3 and n_syn_per_neuron==4:
- print("Sparse connection Network 4-0-3 (4syn)")
- # neuron i connected to neuron j and k, neuron 0..input_neurons is index
- self.synapse_connections = torch.tensor([[0, 1, 2, 3],# output connections #4
- [0, 1, 2, 3], #5
- [0, 1, 2, 3],# 6
- ], device='cuda', dtype=torch.long)
- elif n_input_neurons == 4 and n_hidden_neurons == 3 and n_output_neurons == 3 and n_syn_per_neuron == 4:
- print("Sparse connection Network 4-3-3 (3syn)")
- # neuron i connected to neuron j and k, neuron 0..input_neurons is index
- self.synapse_connections = torch.tensor([[0, 1, 3], # hidden connections #4
- [0, 2, 3], # 5
- [1, 2, 3], # 6
- [4, 5, 3], # output connections #7
- [4, 6, 3], # 8
- [5, 6, 3] # 9
- ], device='cuda', dtype=torch.long)
- elif n_input_neurons==4 and n_hidden_neurons==3 and n_output_neurons==3 and n_syn_per_neuron==8:
- print("Sparse connection Network 4-3-3 (8syn)")
- # neuron i connected to neuron j and k, neuron 0..input_neurons is index
- self.synapse_connections = torch.tensor([[0, 1, 5, 6, 7, 8, 3, 4],# hidden connections #4
- [0, 2, 4, 6, 7, 9, 3, 5], #5
- [1, 2, 4, 5, 8, 9, 3, 6],# 6
- [4, 5, 8, 9, 0, 1, 3, 7], # output connections #7
- [4, 6, 7, 9, 0, 2, 3, 8],#8
- [5, 6, 7, 8, 1, 2, 3, 9]#9
- ], device='cuda', dtype=torch.long)
- elif n_input_neurons==4 and n_hidden_neurons==4 and n_output_neurons==4 and n_syn_per_neuron==8:
- print("Fixed connection Network 4-4-4 (8syn)")
- # neuron i connected to neuron j and k, neuron 0..input_neurons is index
- self.synapse_connections = torch.tensor([[0, 1, 2, 3, 4, 5, 6, 7],# hidden connections
- [0, 1, 2, 3, 4, 5, 6, 7],
- [0, 1, 2, 3, 4, 5, 6, 7],
- [0, 1, 2, 3, 4, 5, 6, 7],
- [4, 5, 6, 7, 8, 9, 10, 11], # output connections
- [4, 5, 6, 7, 8, 9, 10, 11],
- [4, 5, 6, 7, 8, 9, 10, 11],
- [4, 5, 6, 7, 8, 9, 10, 11],
- ], device='cuda', dtype=torch.long)
- elif n_input_neurons==5 and n_hidden_neurons==5 and n_output_neurons==4:
- print("Fixed connection Network 5-5-4 (5syn)")
- # neuron i connected to neuron j and k, neuron 0..input_neurons is index
- self.synapse_connections = torch.tensor([[0, 1, 2, 3, 4],# hidden connections
- [0, 1, 2, 3, 4],
- [0, 1, 2, 3, 4],
- [0, 1, 2, 3, 4],
- [0, 1, 2, 3, 4],
- [5, 6, 7, 8, 9], # output connections
- [5, 6, 7, 8, 9],
- [5, 6, 7, 8, 9],
- [5, 6, 7, 8, 9],
- ], device='cuda', dtype=torch.long)
- elif n_input_neurons==1 and n_hidden_neurons==0 and n_output_neurons==1:
- print("Fixed connection Single")
- self.synapse_connections = torch.tensor([[0]], device='cuda', dtype=torch.long)
- else:
- print("Random connections")
- # each synapse is connected also to its post-synaptic neuron, to allow STDP type learning to emerge
- self.synapse_connections_post = torch.arange(n_neurons, device='cuda', dtype=torch.long).reshape(n_neurons, -1).repeat(1, n_syn_per_neuron)
- # define compartments
- self.compartments = [self.neurons, self.synapses]
- self.trainable_layers = self.neurons.trainable_layers + self.synapses.trainable_layers
- self.track_data = False
- def dump_model(self, e, exp_name):
- """Dump model to restore"""
- with open(get_data_path(e, exp_name, "Model"), 'wb') as f:
- parameters = {}
- parameters["neuron"] = [layer.base_parameters.cpu().numpy() for layer in self.neurons.trainable_layers]
- parameters["synapse"] = [layer.base_parameters.cpu().numpy() for layer in self.synapses.trainable_layers]
- pickle.dump(parameters, f)
- def restore_model(self, e, exp_name):
- """Restore model"""
- with open(get_data_path(e, exp_name, "Model"), 'rb') as f:
- parameters = pickle.load(f)
- #TODO: refactor to dump/restore at ENU level and just call those functions
- assert len(self.neurons.trainable_layers) == len(parameters["neuron"])
- for i in range(len(parameters["neuron"])):
- self.neurons.trainable_layers[i].base_parameters = torch.from_numpy(parameters["neuron"][i].astype(np.float32)).cuda()
- assert len(self.synapses.trainable_layers) == len(parameters["synapse"])
- for i in range(len(parameters["synapse"])):
- self.synapses.trainable_layers[i].base_parameters = torch.from_numpy(parameters["synapse"][i].astype(np.float32)).cuda()
- @staticmethod
- def plot_weights(e, exp_name):
- """Visualize weights of ENU gates"""
- sns.set_style("dark")
- def calc_average(start, stop):
- weights_average = None
- for e in range(start, stop, 1000):
- with open(get_data_path(e, exp_name, "Model"), 'rb') as f:
- parameters = pickle.load(f)
- weights = []
- for i in range(len(parameters["neuron"])):
- weights += [parameters["neuron"][i].astype(np.float32)]
- if weights_average is None:
- weights_average = weights
- else:
- for i in range(len(weights_average)):
- weights_average[i] += weights[i]
- return weights_average
- weights_mean1 = calc_average(20000, 30000)
- fig, ax = plt.subplots(1, 2, sharex='col', sharey='row')
- for i in range(len(weights_mean1)):
- ax[i].imshow(weights_mean1[i], cmap="gray")
- weights_mean2 = calc_average(30000, 40000)
- fig, ax = plt.subplots(1, 2, sharex='col', sharey='row')
- for i in range(len(weights_mean2)):
- ax[i].imshow(weights_mean2[i], cmap="gray")
- fig, ax = plt.subplots(1, 2, sharex='col', sharey='row')
- for i in range(len(weights_mean2)):
- ax[i].imshow((weights_mean2[i] - weights_mean1[i])**5, cmap="gray")
- plt.show()
- def dump_network_activity(self, e, exp_name):
- """Dump raw data for visualization"""
- with open(get_data_path(e, exp_name, "GlobalNetwork"), 'wb') as f:
- pickle.dump(self.vis_data, f)
- def print(self):
- print("--Neurons--")
- self.neurons.print()
- print("--Synapses--")
- self.synapses.print()
- def reset(self):
- self.vis_data = []
- if self.track_data:
- print("Tracking network activity")
- for compartment in self.compartments:
- compartment.reset()
- def forward(self, X):
- """Main computation forward pass"""
- # transfer to GPU
- X_raw_gpu = torch.from_numpy(X.astype(np.float32)).cuda()
- X_gpu = torch.zeros((X.shape[0], X.shape[1], self.n_input_channels), device='cuda', dtype=torch.float32)
- X_gpu[:, :, :X_raw_gpu.shape[2]] = X_raw_gpu
- # first compute synapses, set input to previous output of connected neuron
- # concat our input spiking pattern directly to input to our synapses (the neurons)
- # NOTE: this concats in batch dimension, meaning it feeds into input neurons directly spiking pattern, while rest receive input from network
- input_to_synapses = torch.cat([X_gpu, self.neurons.out_mem], dim=1)
- # connect each synapse randomly to multiple inputs
- input_to_synapses_connected = input_to_synapses[:, self.synapse_connections.flatten(), :]
- # need feedback connection from neuron to synapse, to allow stdp type rules to emerge (else it has to do it through feedback connections, but less guarentee on connections and cannot distinguise type)
- # one synapse has 1 pre-synaptic neuron and 1 post-synaptic neuron, connectection defined in synapse_connections, synapse_connections[i, :] gives all input synapses of that neuron
- # so feedback to all it's input synapses through broadcasting backwards
- post_neuron_backprop_connected = self.neurons.out_mem[:, self.synapse_connections_post.flatten(), :]
- input_to_synapses_connected = torch.cat([input_to_synapses_connected, post_neuron_backprop_connected], dim=-1)
- # compute synapse
- self.synapses.forward(input_to_synapses_connected)
- # then integrate(sum) all outputs of a neurons input synapses, can just reshape into valid shape, since we already randomly connected when computing synapses
- # NOTE: each neuron then requires same number of synapses, then reshape by modifying batch dim (which contains syn outputs)
- integration = torch.sum(self.synapses.out.reshape((self.n_offspring, self.n_neurons, -1, self.synapses.shape[-1])), dim=2)
- # scale by number of synapses
- integration /= self.n_syn_per_neuron
- self.out_integration = integration
- # finally set neuron input to summated connected synapses output
- input_to_neurons = integration
- out = self.neurons.forward(input_to_neurons)
- # output is last neuron output, NOTE: just first channel is returned, since we reshape neurons to channels
- self.out = out[:, -self.n_output:, 0].reshape(self.n_offspring, self.n_output)
- if self.track_data:
- self._track_vis_data(X, input_to_synapses_connected, input_to_neurons)
- return self.out
- def _track_vis_data(self, X, input_to_synapses_connected, input_to_neurons):
- offspring_idx = 0
- self.vis_data += [(X[offspring_idx], input_to_neurons[offspring_idx].cpu().numpy(), self.neurons.out[offspring_idx].cpu().numpy(),
- input_to_synapses_connected[offspring_idx].cpu().numpy(), self.synapses.out[offspring_idx].cpu().numpy())]
- @staticmethod
- def plot_network_activity(e, exp_name):
- with open(get_data_path(e, exp_name, "GlobalNetwork"), 'rb') as f:
- vis_data = pickle.load(f)
- X, input_to_neurons, neurons_out, input_to_synapses, synapses_out = map(np.array, zip(*vis_data))
- def plot_enu_activity(input, output, title):
- n_cells = output.shape[1]
- n_cells = np.minimum(10, output.shape[1])
- fig, grid = plt.subplots(2, n_cells, sharex='col', sharey='row')
- if n_cells==1:
- grid[0].plot(input[:, 0, :])
- grid[1].plot(output[:, 0, :])
- else:
- for i in range(n_cells):
- grid[0, i].plot(input[:, i, :])
- grid[1, i].plot(output[:, i, :])
- plt.xlabel("t")
- plt.title(title)
- #plt.ylabel("")
- plt.legend()
- plt.figure()
- plt.plot(X[:, :, 0])
- plot_enu_activity(input_to_neurons, neurons_out, "ENU neuron activity")
- plot_enu_activity(input_to_synapses, synapses_out, "ENU synapse activity")
- plt.figure()
- spike_points = np.where(neurons_out[:, :, 0] > 0)
- plt.scatter(spike_points[0], spike_points[1], marker='|')
- plt.show()
EnuGlobalNetwork.py at commit f9b879f, under Apache-2.0 · at the source
Overview
- Brain-inspired Cognitive AI Lab, Institute of Automation, Chinese Academy of Sciences,Beijing, China
- 2049 AI Lab, Beijing Institute of AI Safety and Governance, Beijing, China
- School of Artificial Intelligence, University of Chinese Academy of Sciences,Beijing, China
- Center for Long-term AI, Beijing, China
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repositories
Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.
lqnankai/Music-Dataset
b463e083e1242b54fa2a28203aa548258bd638c9, 27 February 2025Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
braincog-x/brain-cog
f9b879f75da2247a9f0c31864a947f0e5d2f3dab, 6 November 2025Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
545 files
- braincog/
__init__.py , Python, 8 lines - braincog/
base/ , Python, 12 lines__init__.py - braincog/
base/ , Python, 175 linesbrainarea/ BrainArea.py - braincog/
base/ , Python, 91 linesbrainarea/ IPL.py - braincog/
base/ , Python, 78 linesbrainarea/ Insula.py - braincog/
base/ , Python, 66 linesbrainarea/ PFC.py - braincog/
base/ , Python, 14 linesbrainarea/ __init__.py - braincog/
base/ , Python, 155 linesbrainarea/ basalganglia.py - braincog/
base/ , Python, 138 linesbrainarea/ dACC.py - braincog/
base/ , Python, 38 linesconnection/ CustomLinear.py - braincog/
base/ , Python, 8 linesconnection/ __init__.py - braincog/
base/ , Python, 255 linesconnection/ layer.py - braincog/
base/ , Python, 8 linesconversion/ __init__.py - braincog/
base/ , Python, 232 linesconversion/ convertor.py - braincog/
base/ , Python, 40 linesconversion/ merge.py - braincog/
base/ , Python, 35 linesconversion/ spicalib.py - braincog/
base/ , Python, 10 linesencoder/ __init__.py - braincog/
base/ , Python, 188 linesencoder/ encoder.py - braincog/
base/ , Python, 109 linesencoder/ population_coding.py - braincog/
base/ , Python, 143 linesencoder/ qs_coding.py - braincog/
base/ , Python, 72 lineslearningrule/ BCM.py - braincog/
base/ , Python, 71 lineslearningrule/ Hebb.py - braincog/
base/ , Python, 62 lineslearningrule/ RSTDP.py - braincog/
base/ , Python, 281 lineslearningrule/ STDP.py - braincog/
base/ , Python, 170 lineslearningrule/ STP.py - braincog/
base/ , Python, 14 lineslearningrule/ __init__.py - braincog/
base/ , Python, 1 linenode/ __init__.py - braincog/
base/ , Python, 1,502 linesnode/ node.py - braincog/
base/ , Python, 30 linesstrategy/ LateralInhibition.py - braincog/
base/ , Python, 6 linesstrategy/ __init__.py - braincog/
base/ , Python, 366 linesstrategy/ surrogate.py - braincog/
base/ , Python, 19 linesutils/ __init__.py - braincog/
base/ , Python, 62 linesutils/ criterions.py - braincog/
base/ , Python, 226 linesutils/ visualization.py - braincog/
datasets/ , Python, 103 linesCUB2002011.py - braincog/
datasets/ , Python, 75 linesESimagenet/ ES_imagenet.py - braincog/
datasets/ , Python, 16 linesESimagenet/ __init__.py - braincog/
datasets/ , Python, 91 linesESimagenet/ reconstructed_ES_imagene t.py - braincog/
datasets/ , Python, 60 linesNOmniglot/ NOmniglot.py - braincog/
datasets/ , Python, 8 linesNOmniglot/ __init__.py - braincog/
datasets/ , Python, 41 linesNOmniglot/ nomniglot_full.py - braincog/
datasets/ , Python, 78 linesNOmniglot/ nomniglot_nw_ks.py - braincog/
datasets/ , Python, 169 linesNOmniglot/ nomniglot_pair.py - braincog/
datasets/ , Python, 231 linesNOmniglot/ utils.py - braincog/
datasets/ , Python, 105 linesStanfordDogs.py - braincog/
datasets/ , Python, 119 linesTinyImageNet.py - braincog/
datasets/ , Python, 37 lines__init__.py - braincog/
datasets/ , Python, 1 linebullying10k/ __init__.py - braincog/
datasets/ , Python, 71 linesbullying10k/ bullying10k.py - braincog/
datasets/ , Python, 508 linescut_mix.py - braincog/
datasets/ , Python, 1,723 linesdatasets.py - braincog/
datasets/ , Python, 8 linesgen_input_signal.py - braincog/
datasets/ , Python, 14 lineshmdb_dvs/ __init__.py - braincog/
datasets/ , Python, 96 lineshmdb_dvs/ hmdb_dvs.py - braincog/
datasets/ , Python, 14 linesncaltech101/ __init__.py - braincog/
datasets/ , Python, 208 linesncaltech101/ ncaltech101.py - braincog/
datasets/ , Python, 194 linesrand_aug.py - braincog/
datasets/ , Python, 37 linesscripts/ ucf101_dvs_preprocessing .py - braincog/
datasets/ , Python, 14 linesucf101_dvs/ __init__.py - braincog/
datasets/ , Python, 108 linesucf101_dvs/ ucf101_dvs.py - braincog/
datasets/ , Python, 29 linesutils.py - braincog/
model_zoo/ , Python, 164 linesNeuEvo/ __init__.py - braincog/
model_zoo/ , Python, 92 linesNeuEvo/ architect.py - braincog/
model_zoo/ , Python, 538 linesNeuEvo/ genotypes.py - braincog/
model_zoo/ , Python, 569 linesNeuEvo/ model.py - braincog/
model_zoo/ , Python, 345 linesNeuEvo/ model_search.py - braincog/
model_zoo/ , Python, 409 linesNeuEvo/ operations.py - braincog/
model_zoo/ , Python, 182 linesNeuEvo/ others.py - braincog/
model_zoo/ , Python, 10 lines__init__.py - braincog/
model_zoo/ , Python, 96 linesbackeinet.py - braincog/
model_zoo/ , Python, 353 linesbase_module.py - braincog/
model_zoo/ , Python, 139 linesbdmsnn.py - braincog/
model_zoo/ , Python, 316 linesconvnet.py - braincog/
model_zoo/ , Python, 202 linesfc_snn.py - braincog/
model_zoo/ , Python, 109 linesglsnn.py - braincog/
model_zoo/ , Python, 69 lineslinearNet.py - braincog/
model_zoo/ , Python, 74 linesnonlinearNet.py - braincog/
model_zoo/ , Python, 256 linesqsnn.py - braincog/
model_zoo/ , Python, 543 linesresnet.py - braincog/
model_zoo/ , Python, 219 linesresnet19_snn.py - braincog/
model_zoo/ , Python, 55 linesrsnn.py - braincog/
model_zoo/ , Python, 988 linessew_resnet.py - braincog/
model_zoo/ , Python, 201 linesvgg_snn.py - braincog/
utils.py , Python, 176 lines - docs/
source/ , Python, 74 linesconf.py - examples/
Brain_Cognitive_Function , Python, 190 lines_Simulation/ drosophila/ drosophila.py - examples/
Embodied_Cognition/ , Python, 505 linesRHI/ RHI_Test.py - examples/
Embodied_Cognition/ , Python, 530 linesRHI/ RHI_Train.py - examples/
Hardware_acceleration/ , Python, 386 linesfirefly_v1_schedule_on_p ynq.py - examples/
Hardware_acceleration/ , Python, 288 linesstandalone_utils.py - examples/
Hardware_acceleration/ , Python, 105 linesultra96_test.py - examples/
Hardware_acceleration/ , Python, 105 lineszcu104_test.py - examples/
Knowledge_Representation , Python, 178 lines_and_Reasoning/ CKRGSNN/ main.py - examples/
Knowledge_Representation , Python, 416 lines_and_Reasoning/ CRSNN/ main.py - examples/
Knowledge_Representation , Python, 297 lines_and_Reasoning/ SPSNN/ main.py - examples/
Knowledge_Representation , Python, 34 lines_and_Reasoning/ musicMemory/ Areas/ apac.py - examples/
Knowledge_Representation , Python, 579 lines_and_Reasoning/ musicMemory/ Areas/ cortex.py - examples/
Knowledge_Representation , Python, 600 lines_and_Reasoning/ musicMemory/ Areas/ pac.py - examples/
Knowledge_Representation , Python, 346 lines_and_Reasoning/ musicMemory/ Areas/ pfc.py - examples/
Knowledge_Representation , Python, 21 lines_and_Reasoning/ musicMemory/ Modal/ PAC.py - examples/
Knowledge_Representation , Python, 185 lines_and_Reasoning/ musicMemory/ Modal/ cluster.py - examples/
Knowledge_Representation , Python, 22 lines_and_Reasoning/ musicMemory/ Modal/ composercluster.py - examples/
Knowledge_Representation , Python, 24 lines_and_Reasoning/ musicMemory/ Modal/ composerlayer.py - examples/
Knowledge_Representation , Python, 24 lines_and_Reasoning/ musicMemory/ Modal/ composerlifneuron.py - examples/
Knowledge_Representation , Python, 21 lines_and_Reasoning/ musicMemory/ Modal/ genrecluster.py - examples/
Knowledge_Representation , Python, 22 lines_and_Reasoning/ musicMemory/ Modal/ genrelayer.py - examples/
Knowledge_Representation , Python, 23 lines_and_Reasoning/ musicMemory/ Modal/ genrelifneuron.py - examples/
Knowledge_Representation , Python, 310 lines_and_Reasoning/ musicMemory/ Modal/ izhikevichneuron.py - examples/
Knowledge_Representation , Python, 72 lines_and_Reasoning/ musicMemory/ Modal/ layer.py - examples/
Knowledge_Representation , Python, 162 lines_and_Reasoning/ musicMemory/ Modal/ lifneuron.py - examples/
Knowledge_Representation , Python, 18 lines_and_Reasoning/ musicMemory/ Modal/ note.py - examples/
Knowledge_Representation , Python, 42 lines_and_Reasoning/ musicMemory/ Modal/ notecluster.py - examples/
Knowledge_Representation , Python, 49 lines_and_Reasoning/ musicMemory/ Modal/ notelifneuron.py - examples/
Knowledge_Representation , Python, 42 lines_and_Reasoning/ musicMemory/ Modal/ notesequencelayer.py - examples/
Knowledge_Representation , Python, 18 lines_and_Reasoning/ musicMemory/ Modal/ pitch.py - examples/
Knowledge_Representation , Python, 41 lines_and_Reasoning/ musicMemory/ Modal/ sequencelayer.py - examples/
Knowledge_Representation , Python, 195 lines_and_Reasoning/ musicMemory/ Modal/ sequencememory.py - examples/
Knowledge_Representation , Python, 100 lines_and_Reasoning/ musicMemory/ Modal/ synapse.py - examples/
Knowledge_Representation , Python, 29 lines_and_Reasoning/ musicMemory/ Modal/ tempocluster.py - examples/
Knowledge_Representation , Python, 50 lines_and_Reasoning/ musicMemory/ Modal/ tempolifneuron.py - examples/
Knowledge_Representation , Python, 42 lines_and_Reasoning/ musicMemory/ Modal/ temposequencelayer.py - examples/
Knowledge_Representation , Python, 35 lines_and_Reasoning/ musicMemory/ Modal/ titlecluster.py - examples/
Knowledge_Representation , Python, 29 lines_and_Reasoning/ musicMemory/ Modal/ titlelayer.py - examples/
Knowledge_Representation , Python, 49 lines_and_Reasoning/ musicMemory/ Modal/ titlelifneuron.py - examples/
Knowledge_Representation , Python, 341 lines_and_Reasoning/ musicMemory/ api/ music_engine_api.py - examples/
Knowledge_Representation , Python, 130 lines_and_Reasoning/ musicMemory/ conf/ conf.py - examples/
Knowledge_Representation , Python, 47 lines_and_Reasoning/ musicMemory/ task/ mode-conditioned learning.py - examples/
Knowledge_Representation , Python, 36 lines_and_Reasoning/ musicMemory/ task/ musicGeneration.py - examples/
Knowledge_Representation , Python, 28 lines_and_Reasoning/ musicMemory/ task/ musicMemory.py - examples/
Knowledge_Representation , Python, 1 line_and_Reasoning/ musicMemory/ tools/ __init__.py - examples/
Knowledge_Representation , Python, 78 lines_and_Reasoning/ musicMemory/ tools/ generateData.py - examples/
Knowledge_Representation , Python, 25 lines_and_Reasoning/ musicMemory/ tools/ hamonydataset_test.py - examples/
Knowledge_Representation , Python, 29 lines_and_Reasoning/ musicMemory/ tools/ msg.py - examples/
Knowledge_Representation , Python, 24 lines_and_Reasoning/ musicMemory/ tools/ msgq.py - examples/
Knowledge_Representation , Python, 23 lines_and_Reasoning/ musicMemory/ tools/ oscillations.py - examples/
Knowledge_Representation , Python, 21 lines_and_Reasoning/ musicMemory/ tools/ readjson.py - examples/
Knowledge_Representation , Python, 16 lines_and_Reasoning/ musicMemory/ tools/ testSound.py - examples/
Knowledge_Representation , Python, 47 lines_and_Reasoning/ musicMemory/ tools/ testmusic21.py - examples/
Knowledge_Representation , Python, 22 lines_and_Reasoning/ musicMemory/ tools/ testopengl.py - examples/
Knowledge_Representation , Python, 18 lines_and_Reasoning/ musicMemory/ tools/ testwave.py - examples/
Knowledge_Representation , Python, 68 lines_and_Reasoning/ musicMemory/ tools/ xmlParser.py - examples/
MotorControl/ , Python, 160 linesexperimental/ brain_area.py - examples/
MotorControl/ , Python, 140 linesexperimental/ main.py - examples/
MotorControl/ , Python, 24 linesexperimental/ model.py - examples/
Multiscale_Brain_Structu , Python, 1 linere_Simulation/ CorticothalamicColumn/ data/ __init__.py - examples/
Multiscale_Brain_Structu , Python, 17 linesre_Simulation/ CorticothalamicColumn/ data/ globaldata.py - examples/
Multiscale_Brain_Structu , Python, 14 linesre_Simulation/ CorticothalamicColumn/ main.py - examples/
Multiscale_Brain_Structu , Python, 1 linere_Simulation/ CorticothalamicColumn/ model/ __init__.py - examples/
Multiscale_Brain_Structu , Python, 45 linesre_Simulation/ CorticothalamicColumn/ model/ cortex.py - examples/
Multiscale_Brain_Structu , Python, 355 linesre_Simulation/ CorticothalamicColumn/ model/ cortex_thalamus.py - examples/
Multiscale_Brain_Structu , Python, 37 linesre_Simulation/ CorticothalamicColumn/ model/ dendrite.py - examples/
Multiscale_Brain_Structu , Python, 63 linesre_Simulation/ CorticothalamicColumn/ model/ layer.py - examples/
Multiscale_Brain_Structu , Python, 38 linesre_Simulation/ CorticothalamicColumn/ model/ synapse.py - examples/
Multiscale_Brain_Structu , Python, 40 linesre_Simulation/ CorticothalamicColumn/ model/ thalamus.py - examples/
Multiscale_Brain_Structu , Python, 1 linere_Simulation/ CorticothalamicColumn/ tools/ __init__.py - examples/
Multiscale_Brain_Structu , Python, 102 linesre_Simulation/ CorticothalamicColumn/ tools/ exdata.py - examples/
Multiscale_Brain_Structu , Python, 299 linesre_Simulation/ Corticothalamic_Brain_Mo del/ Bioinformatics_propofol_ circle.py - examples/
Multiscale_Brain_Structu , Python, 104 linesre_Simulation/ Corticothalamic_Brain_Mo del/ spectrogram.py - examples/
Multiscale_Brain_Structu , Python, 202 linesre_Simulation/ HumanBrain/ human_brain.py - examples/
Multiscale_Brain_Structu , Python, 548 linesre_Simulation/ HumanBrain/ human_multi.py - examples/
Multiscale_Brain_Structu , Python, 106 linesre_Simulation/ Human_Brain_Model/ NA.py - examples/
Multiscale_Brain_Structu , Python, 46 linesre_Simulation/ Human_Brain_Model/ gc.py - examples/
Multiscale_Brain_Structu , Python, 349 linesre_Simulation/ Human_Brain_Model/ main_246.py - examples/
Multiscale_Brain_Structu , Python, 361 linesre_Simulation/ Human_Brain_Model/ main_84.py - examples/
Multiscale_Brain_Structu , Python, 175 linesre_Simulation/ Human_Brain_Model/ pci.py - examples/
Multiscale_Brain_Structu , Python, 169 linesre_Simulation/ Human_Brain_Model/ pci_246.py - examples/
Multiscale_Brain_Structu , Python, 198 linesre_Simulation/ Human_Brain_Model/ spectrogram.py - examples/
Multiscale_Brain_Structu , Python, 750 linesre_Simulation/ Human_PFC_Model/ Six_Layer_PFC.py - examples/
Multiscale_Brain_Structu , Python, 202 linesre_Simulation/ MacaqueBrain/ macaque_brain.py - examples/
Multiscale_Brain_Structu , Python, 203 linesre_Simulation/ MouseBrain/ mouse_brain.py - examples/
Perception_and_Learning/ , Python, 151 linesConversion/ burst_conversion/ CIFAR10_VGG16.py - examples/
Perception_and_Learning/ , Python, 110 linesConversion/ burst_conversion/ converted_CIFAR10.py - examples/
Perception_and_Learning/ , Python, 151 linesConversion/ msat_conversion/ CIFAR10_VGG16.py - examples/
Perception_and_Learning/ , Python, 118 linesConversion/ msat_conversion/ converted_CIFAR10.py - examples/
Perception_and_Learning/ , Python, 332 linesConversion/ msat_conversion/ convertor.py - examples/
Perception_and_Learning/ , Python, 1 lineIllusionPerception/ AbuttingGratingIllusion/ distortion/ __init__.py - examples/
Perception_and_Learning/ , Python, 1 lineIllusionPerception/ AbuttingGratingIllusion/ distortion/ abutting_grating_illusio n/ __init__.py - examples/
Perception_and_Learning/ , Python, 142 linesIllusionPerception/ AbuttingGratingIllusion/ distortion/ abutting_grating_illusio n/ abutting_grating_distort ion.py - examples/
Perception_and_Learning/ , Python, 26 linesIllusionPerception/ AbuttingGratingIllusion/ main.py - examples/
Perception_and_Learning/ , Python, 136 linesMultisensoryIntegration/ code/ MultisensoryIntegrationD EMO_AM.py - examples/
Perception_and_Learning/ , Python, 132 linesMultisensoryIntegration/ code/ MultisensoryIntegrationD EMO_IM.py - examples/
Perception_and_Learning/ , Python, 224 linesMultisensoryIntegration/ code/ measure_and_visualizatio n.py - examples/
Perception_and_Learning/ , Python, 274 linesNeuEvo/ auto_augment.py - examples/
Perception_and_Learning/ , Python, 978 linesNeuEvo/ main.py - examples/
Perception_and_Learning/ , Python, 73 linesNeuEvo/ separate_loss.py - examples/
Perception_and_Learning/ , Python, 295 linesNeuEvo/ train.py - examples/
Perception_and_Learning/ , Python, 380 linesNeuEvo/ train_search.py - examples/
Perception_and_Learning/ , Python, 183 linesNeuEvo/ utils.py - examples/
Perception_and_Learning/ , Python, 81 linesQSNN/ main.py - examples/
Perception_and_Learning/ , Python, 529 linesUnsupervisedSTDP/ codef.py - examples/
Perception_and_Learning/ , Python, 1,009 linesimg_cls/ bp/ main.py - examples/
Perception_and_Learning/ , Python, 136 linesimg_cls/ bp/ main_backei.py - examples/
Perception_and_Learning/ , Python, 515 linesimg_cls/ bp/ main_simplified.py - examples/
Perception_and_Learning/ , Python, 118 linesimg_cls/ glsnn/ cls_glsnn.py - examples/
Perception_and_Learning/ , Python, 233 linesimg_cls/ spiking_capsnet/ spikingcaps.py - examples/
Perception_and_Learning/ , Python, 871 linesimg_cls/ transfer_for_dvs/ GradCAM_visualization.py - examples/
Perception_and_Learning/ , Python, 1,514 linesimg_cls/ transfer_for_dvs/ datasets.py - examples/
Perception_and_Learning/ , Python, 1,122 linesimg_cls/ transfer_for_dvs/ main.py - examples/
Perception_and_Learning/ , Python, 1,388 linesimg_cls/ transfer_for_dvs/ main_transfer.py - examples/
Perception_and_Learning/ , Python, 651 linesimg_cls/ transfer_for_dvs/ main_visual_losslandscap e.py - examples/
Snn_safety/ , Python, 201 linesDPSNN/ load_data.py - examples/
Snn_safety/ , Python, 214 linesDPSNN/ main_dpsnn.py - examples/
Snn_safety/ , Python, 418 linesDPSNN/ model.py - examples/
Snn_safety/ , Python, 198 linesRandHet-SNN/ evaluate.py - examples/
Snn_safety/ , Python, 104 linesRandHet-SNN/ my_node.py - examples/
Snn_safety/ , Python, 284 linesRandHet-SNN/ sew_resnet.py - examples/
Snn_safety/ , Python, 293 linesRandHet-SNN/ train.py - examples/
Snn_safety/ , Python, 144 linesRandHet-SNN/ utils.py - examples/
Social_Cognition/ , Python, 108 linesFOToM/ algorithms/ ToM_class.py - examples/
Social_Cognition/ , Python, 1 lineFOToM/ algorithms/ __init__.py - examples/
Social_Cognition/ , Python, 601 linesFOToM/ algorithms/ maddpg.py - examples/
Social_Cognition/ , Python, 676 linesFOToM/ algorithms/ tom11.py - examples/
Social_Cognition/ , Python, 1 lineFOToM/ common/ __init__.py - examples/
Social_Cognition/ , Python, 333 linesFOToM/ common/ distributions.py - examples/
Social_Cognition/ , Python, 23 linesFOToM/ common/ tile_images.py - examples/
Social_Cognition/ , Python, 1 lineFOToM/ common/ vec_env/ __init__.py - examples/
Social_Cognition/ , Python, 223 linesFOToM/ common/ vec_env/ vec_env.py - examples/
Social_Cognition/ , Python, 175 linesFOToM/ evaluate.py - examples/
Social_Cognition/ , Python, 342 linesFOToM/ main.py - examples/
Social_Cognition/ , Python, 18 linesFOToM/ multiagent/ __init__.py - examples/
Social_Cognition/ , Python, 196 linesFOToM/ multiagent/ core.py - examples/
Social_Cognition/ , Python, 335 linesFOToM/ multiagent/ environment.py - examples/
Social_Cognition/ , Python, 45 linesFOToM/ multiagent/ multi_discrete.py - examples/
Social_Cognition/ , Python, 52 linesFOToM/ multiagent/ policy.py - examples/
Social_Cognition/ , Python, 346 linesFOToM/ multiagent/ rendering.py - examples/
Social_Cognition/ , Python, 10 linesFOToM/ multiagent/ scenario.py - examples/
Social_Cognition/ , Python, 7 linesFOToM/ multiagent/ scenarios/ __init__.py - examples/
Social_Cognition/ , Python, 146 linesFOToM/ multiagent/ scenarios/ hetero_spread.py - examples/
Social_Cognition/ , Python, 50 linesFOToM/ multiagent/ scenarios/ simple.py - examples/
Social_Cognition/ , Python, 149 linesFOToM/ multiagent/ scenarios/ simple_adversary.py - examples/
Social_Cognition/ , Python, 169 linesFOToM/ multiagent/ scenarios/ simple_crypto.py - examples/
Social_Cognition/ , Python, 160 linesFOToM/ multiagent/ scenarios/ simple_push.py - examples/
Social_Cognition/ , Python, 81 linesFOToM/ multiagent/ scenarios/ simple_reference.py - examples/
Social_Cognition/ , Python, 92 linesFOToM/ multiagent/ scenarios/ simple_speaker_listener. py - examples/
Social_Cognition/ , Python, 126 linesFOToM/ multiagent/ scenarios/ simple_spread.py - examples/
Social_Cognition/ , Python, 150 linesFOToM/ multiagent/ scenarios/ simple_tag.py - examples/
Social_Cognition/ , Python, 298 linesFOToM/ multiagent/ scenarios/ simple_world_comm.py - examples/
Social_Cognition/ , Python, 1 lineFOToM/ utils/ __init__.py - examples/
Social_Cognition/ , Python, 659 linesFOToM/ utils/ agents.py - examples/
Social_Cognition/ , Python, 303 linesFOToM/ utils/ buffer.py - examples/
Social_Cognition/ , Python, 133 linesFOToM/ utils/ env_wrappers.py - examples/
Social_Cognition/ , Python, 46 linesFOToM/ utils/ make_env.py - examples/
Social_Cognition/ , Python, 92 linesFOToM/ utils/ misc.py - examples/
Social_Cognition/ , Python, 321 linesFOToM/ utils/ multiprocessing.py - examples/
Social_Cognition/ , Python, 165 linesFOToM/ utils/ networks.py - examples/
Social_Cognition/ , Python, 22 linesFOToM/ utils/ noise.py - examples/
Social_Cognition/ , Python, 349 linesIntention_Prediction/ Intention_Prediction.py - examples/
Social_Cognition/ , Python, 1 lineMAToM-SNN/ MPE/ __init__.py - examples/
Social_Cognition/ , Python, 1 lineMAToM-SNN/ MPE/ agents/ __init__.py - examples/
Social_Cognition/ , Python, 421 linesMAToM-SNN/ MPE/ agents/ agents.py - examples/
Social_Cognition/ , Python, 1 lineMAToM-SNN/ MPE/ common/ __init__.py - examples/
Social_Cognition/ , Python, 333 linesMAToM-SNN/ MPE/ common/ distributions.py - examples/
Social_Cognition/ , Python, 23 linesMAToM-SNN/ MPE/ common/ tile_images.py - examples/
Social_Cognition/ , Python, 1 lineMAToM-SNN/ MPE/ common/ vec_env/ __init__.py - examples/
Social_Cognition/ , Python, 223 linesMAToM-SNN/ MPE/ common/ vec_env/ vec_env.py - examples/
Social_Cognition/ , Python, 279 linesMAToM-SNN/ MPE/ main.py - examples/
Social_Cognition/ , Python, 18 linesMAToM-SNN/ MPE/ multiagent/ __init__.py - examples/
Social_Cognition/ , Python, 7 linesMAToM-SNN/ MPE/ multiagent/ scenarios/ __init__.py - examples/
Social_Cognition/ , Python, 50 linesMAToM-SNN/ MPE/ multiagent/ scenarios/ simple.py - examples/
Social_Cognition/ , Python, 169 linesMAToM-SNN/ MPE/ multiagent/ scenarios/ simple_crypto.py - examples/
Social_Cognition/ , Python, 96 linesMAToM-SNN/ MPE/ multiagent/ scenarios/ simple_push.py - examples/
Social_Cognition/ , Python, 81 linesMAToM-SNN/ MPE/ multiagent/ scenarios/ simple_reference.py - examples/
Social_Cognition/ , Python, 92 linesMAToM-SNN/ MPE/ multiagent/ scenarios/ simple_speaker_listener. py - examples/
Social_Cognition/ , Python, 100 linesMAToM-SNN/ MPE/ multiagent/ scenarios/ simple_spread.py - examples/
Social_Cognition/ , Python, 289 linesMAToM-SNN/ MPE/ multiagent/ scenarios/ simple_world_comm.py - examples/
Social_Cognition/ , Python, 1 lineMAToM-SNN/ MPE/ policy/ __init__.py - examples/
Social_Cognition/ , Python, 3,170 linesMAToM-SNN/ MPE/ policy/ maddpg.py - examples/
Social_Cognition/ , Python, 1 lineMAToM-SNN/ MPE/ utils/ __init__.py - examples/
Social_Cognition/ , Python, 299 linesMAToM-SNN/ MPE/ utils/ buffer.py - examples/
Social_Cognition/ , Python, 129 linesMAToM-SNN/ MPE/ utils/ env_wrappers.py - examples/
Social_Cognition/ , Python, 46 linesMAToM-SNN/ MPE/ utils/ make_env.py - examples/
Social_Cognition/ , Python, 92 linesMAToM-SNN/ MPE/ utils/ misc.py - examples/
Social_Cognition/ , Python, 314 linesMAToM-SNN/ MPE/ utils/ multiprocessing.py - examples/
Social_Cognition/ , Python, 123 linesMAToM-SNN/ MPE/ utils/ networks.py - examples/
Social_Cognition/ , Python, 22 linesMAToM-SNN/ MPE/ utils/ noise.py - examples/
Social_Cognition/ , Python, 1 lineMAToM-SNN/ STAG/ agents/ __init__.py - examples/
Social_Cognition/ , Python, 169 linesMAToM-SNN/ STAG/ agents/ sagent.py - examples/
Social_Cognition/ , Python, 1 lineMAToM-SNN/ STAG/ common_sr/ __init__.py - examples/
Social_Cognition/ , Python, 122 linesMAToM-SNN/ STAG/ common_sr/ arguments.py - examples/
Social_Cognition/ , Python, 81 linesMAToM-SNN/ STAG/ common_sr/ dummy_vec_env.py - examples/
Social_Cognition/ , Python, 190 linesMAToM-SNN/ STAG/ common_sr/ multiprocessing_env.py - examples/
Social_Cognition/ , Python, 77 linesMAToM-SNN/ STAG/ common_sr/ replay_buffer.py - examples/
Social_Cognition/ , Python, 265 linesMAToM-SNN/ STAG/ common_sr/ srollout.py - examples/
Social_Cognition/ , Python, 42 linesMAToM-SNN/ STAG/ envs/ Stag_Hunt_env.py - examples/
Social_Cognition/ , Python, 1 lineMAToM-SNN/ STAG/ envs/ __init__.py - examples/
Social_Cognition/ , Python, 62 linesMAToM-SNN/ STAG/ envs/ abstract.py - examples/
Social_Cognition/ , Python, 105 linesMAToM-SNN/ STAG/ envs/ constants.py - examples/
Social_Cognition/ , Python, 84 linesMAToM-SNN/ STAG/ main_spiking.py - examples/
Social_Cognition/ , Python, 1 lineMAToM-SNN/ STAG/ network/ __init__.py - examples/
Social_Cognition/ , Python, 170 linesMAToM-SNN/ STAG/ network/ spiking_net.py - examples/
Social_Cognition/ , Python, 1 lineMAToM-SNN/ STAG/ policy/ __init__.py - examples/
Social_Cognition/ , Python, 196 linesMAToM-SNN/ STAG/ policy/ dqn.py - examples/
Social_Cognition/ , Python, 355 linesMAToM-SNN/ STAG/ policy/ stomvdn.py - examples/
Social_Cognition/ , Python, 205 linesMAToM-SNN/ STAG/ policy/ svdn.py - examples/
Social_Cognition/ , Python, 1 lineMAToM-SNN/ STAG/ preprocessoing/ __init__.py - examples/
Social_Cognition/ , Python, 69 linesMAToM-SNN/ STAG/ preprocessoing/ common.py - examples/
Social_Cognition/ , Python, 116 linesMAToM-SNN/ STAG/ runner.py - examples/
Social_Cognition/ , Python, 301 linesSmashVat/ dqn.py - examples/
Social_Cognition/ , Python, 595 linesSmashVat/ environment.py - examples/
Social_Cognition/ , Python, 107 linesSmashVat/ main.py - examples/
Social_Cognition/ , Python, 86 linesSmashVat/ manual_control.py - examples/
Social_Cognition/ , Python, 68 linesSmashVat/ qnets.py - examples/
Social_Cognition/ , Python, 123 linesSmashVat/ side_effect_eval.py - examples/
Social_Cognition/ , Python, 127 linesSmashVat/ window.py - examples/
Social_Cognition/ , Python, 102 linesToCM/ agent/ controllers/ ToCMController.py - examples/
Social_Cognition/ , Python, 220 linesToCM/ agent/ learners/ ToCMLearner.py - examples/
Social_Cognition/ , Python, 85 linesToCM/ agent/ memory/ ToCMMemory.py - examples/
Social_Cognition/ , Python, 63 linesToCM/ agent/ models/ ToCMModel.py - examples/
Social_Cognition/ , Python, 128 linesToCM/ agent/ optim/ loss.py - examples/
Social_Cognition/ , Python, 98 linesToCM/ agent/ optim/ utils.py - examples/
Social_Cognition/ , Python, 81 linesToCM/ agent/ runners/ ToCMRunner.py - examples/
Social_Cognition/ , Python, 38 linesToCM/ agent/ utils/ params.py - examples/
Social_Cognition/ , Python, 147 linesToCM/ agent/ workers/ ToCMWorker.py - examples/
Social_Cognition/ , Python, 22 linesToCM/ configs/ Config.py - examples/
Social_Cognition/ , Python, 112 linesToCM/ configs/ EnvConfigs.py - examples/
Social_Cognition/ , Python, 12 linesToCM/ configs/ Experiment.py - examples/
Social_Cognition/ , Python, 80 linesToCM/ configs/ ToCM/ ToCMAgentConfig.py - examples/
Social_Cognition/ , Python, 18 linesToCM/ configs/ ToCM/ ToCMControllerConfig.py - examples/
Social_Cognition/ , Python, 33 linesToCM/ configs/ ToCM/ ToCMLearnerConfig.py - examples/
Social_Cognition/ , Python, 28 linesToCM/ configs/ ToCM/ optimal/ starcraft/ AgentConfig.py - examples/
Social_Cognition/ , Python, 29 linesToCM/ configs/ ToCM/ optimal/ starcraft/ LearnerConfig.py - examples/
Social_Cognition/ , Python, 2 linesToCM/ configs/ __init__.py - examples/
Social_Cognition/ , Python, 33 linesToCM/ env/ mpe/ MPE.py - examples/
Social_Cognition/ , Python, 34 linesToCM/ env/ starcraft/ StarCraft.py - examples/
Social_Cognition/ , Python, 11 linesToCM/ environments.py - examples/
Social_Cognition/ , Python, 44 linesToCM/ mpe/ MPE_Env.py - examples/
Social_Cognition/ , Python, 1 lineToCM/ mpe/ __init__.py - examples/
Social_Cognition/ , Python, 361 linesToCM/ mpe/ core.py - examples/
Social_Cognition/ , Python, 439 linesToCM/ mpe/ environment.py - examples/
Social_Cognition/ , Python, 50 linesToCM/ mpe/ multi_discrete.py - examples/
Social_Cognition/ , Python, 403 linesToCM/ mpe/ rendering.py - examples/
Social_Cognition/ , Python, 12 linesToCM/ mpe/ scenario.py - examples/
Social_Cognition/ , Python, 9 linesToCM/ mpe/ scenarios/ __init__.py - examples/
Social_Cognition/ , Python, 147 linesToCM/ mpe/ scenarios/ hetero_spread.py - examples/
Social_Cognition/ , Python, 137 linesToCM/ mpe/ scenarios/ simple_adversary.py - examples/
Social_Cognition/ , Python, 168 linesToCM/ mpe/ scenarios/ simple_crypto.py - examples/
Social_Cognition/ , Python, 172 linesToCM/ mpe/ scenarios/ simple_crypto_display.py - examples/
Social_Cognition/ , Python, 107 linesToCM/ mpe/ scenarios/ simple_push.py - examples/
Social_Cognition/ , Python, 97 linesToCM/ mpe/ scenarios/ simple_reference.py - examples/
Social_Cognition/ , Python, 98 linesToCM/ mpe/ scenarios/ simple_speaker_listener. py - examples/
Social_Cognition/ , Python, 103 linesToCM/ mpe/ scenarios/ simple_spread.py - examples/
Social_Cognition/ , Python, 143 linesToCM/ mpe/ scenarios/ simple_tag.py - examples/
Social_Cognition/ , Python, 288 linesToCM/ mpe/ scenarios/ simple_world_comm.py - examples/
Social_Cognition/ , Python, 163 linesToCM/ networks/ ToCM/ action.py - examples/
Social_Cognition/ , Python, 192 linesToCM/ networks/ ToCM/ critic.py - examples/
Social_Cognition/ , Python, 34 linesToCM/ networks/ ToCM/ dense.py - examples/
Social_Cognition/ , Python, 161 linesToCM/ networks/ ToCM/ rnns.py - examples/
Social_Cognition/ , Python, 64 linesToCM/ networks/ ToCM/ utils.py - examples/
Social_Cognition/ , Python, 29 linesToCM/ networks/ ToCM/ vae.py - examples/
Social_Cognition/ , Python, 69 linesToCM/ networks/ transformer/ layers.py - examples/
Social_Cognition/ , Shell, 21 linesToCM/ run.sh - examples/
Social_Cognition/ , Python, 1 lineToCM/ smac/ __init__.py - examples/
Social_Cognition/ , Python, 1 lineToCM/ smac/ bin/ __init__.py - examples/
Social_Cognition/ , Python, 28 linesToCM/ smac/ bin/ map_list.py - examples/
Social_Cognition/ , Python, 8 linesToCM/ smac/ env/ __init__.py - examples/
Social_Cognition/ , Python, 68 linesToCM/ smac/ env/ multiagentenv.py - examples/
Social_Cognition/ , Python, 201 linesToCM/ smac/ env/ pettingzoo/ StarCraft2PZEnv.py - examples/
Social_Cognition/ , Python, 1 lineToCM/ smac/ env/ pettingzoo/ __init__.py - examples/
Social_Cognition/ , Python, 1 lineToCM/ smac/ env/ pettingzoo/ test/ __init__.py - examples/
Social_Cognition/ , Python, 27 linesToCM/ smac/ env/ pettingzoo/ test/ all_test.py - examples/
Social_Cognition/ , Python, 23 linesToCM/ smac/ env/ pettingzoo/ test/ smac_pettingzoo_test.py - examples/
Social_Cognition/ , Python, 8 linesToCM/ smac/ env/ starcraft2/ __init__.py - examples/
Social_Cognition/ , Python, 10 linesToCM/ smac/ env/ starcraft2/ maps/ __init__.py - examples/
Social_Cognition/ , Python, 232 linesToCM/ smac/ env/ starcraft2/ maps/ smac_maps.py - examples/
Social_Cognition/ , Python, 347 linesToCM/ smac/ env/ starcraft2/ render.py - examples/
Social_Cognition/ , Python, 1,698 linesToCM/ smac/ env/ starcraft2/ starcraft2.py - examples/
Social_Cognition/ , Python, 1 lineToCM/ smac/ examples/ __init__.py - examples/
Social_Cognition/ , Python, 1 lineToCM/ smac/ examples/ pettingzoo/ __init__.py - examples/
Social_Cognition/ , Python, 44 linesToCM/ smac/ examples/ pettingzoo/ pettingzoo_demo.py - examples/
Social_Cognition/ , Python, 44 linesToCM/ smac/ examples/ random_agents.py - examples/
Social_Cognition/ , Python, 4 linesToCM/ smac/ examples/ rllib/ __init__.py - examples/
Social_Cognition/ , Python, 115 linesToCM/ smac/ examples/ rllib/ env.py - examples/
Social_Cognition/ , Python, 50 linesToCM/ smac/ examples/ rllib/ model.py - examples/
Social_Cognition/ , Python, 56 linesToCM/ smac/ examples/ rllib/ run_ppo.py - examples/
Social_Cognition/ , Python, 59 linesToCM/ smac/ examples/ rllib/ run_qmix.py - examples/
Social_Cognition/ , Python, 140 linesToCM/ train.py - examples/
Social_Cognition/ , Python, 1 lineToCM/ utils/ __init__.py - examples/
Social_Cognition/ , Python, 340 linesToCM/ utils/ mlp_buffer.py - examples/
Social_Cognition/ , Python, 162 linesToCM/ utils/ mlp_nstep_buffer.py - examples/
Social_Cognition/ , Python, 68 linesToCM/ utils/ popart.py - examples/
Social_Cognition/ , Python, 324 linesToCM/ utils/ rec_buffer.py - examples/
Social_Cognition/ , Python, 165 linesToCM/ utils/ segment_tree.py - examples/
Social_Cognition/ , Python, 325 linesToCM/ utils/ util.py - examples/
Social_Cognition/ , Python, 144 linesToM/ BrainArea/ PFC_ToM.py - examples/
Social_Cognition/ , Python, 229 linesToM/ BrainArea/ TPJ.py - examples/
Social_Cognition/ , Python, 1 lineToM/ BrainArea/ __init__.py - examples/
Social_Cognition/ , Python, 137 linesToM/ BrainArea/ dACC.py - examples/
Social_Cognition/ , Python, 14 linesToM/ BrainArea/ one_hot.py - examples/
Social_Cognition/ , Python, 47 linesToM/ BrainArea/ test.py - examples/
Social_Cognition/ , Python, 1 lineToM/ __init__.py - examples/
Social_Cognition/ , Python, 14 linesToM/ data/ one_hot.py - examples/
Social_Cognition/ , Python, 1 lineToM/ env/ __init__.py - examples/
Social_Cognition/ , Python, 503 linesToM/ env/ env.py - examples/
Social_Cognition/ , Python, 494 linesToM/ env/ env3_train_env00.py - examples/
Social_Cognition/ , Python, 380 linesToM/ env/ env3_train_env01.py - examples/
Social_Cognition/ , Python, 202 linesToM/ main_ToM.py - examples/
Social_Cognition/ , Python, 282 linesToM/ main_both.py - examples/
Social_Cognition/ , Python, 30 linesToM/ rulebasedpolicy/ Find_a_way.py - examples/
Social_Cognition/ , Python, 1 lineToM/ rulebasedpolicy/ __init__.py - examples/
Social_Cognition/ , Python, 161 linesToM/ rulebasedpolicy/ a_star.py - examples/
Social_Cognition/ , Python, 38 linesToM/ rulebasedpolicy/ load_statedata.py - examples/
Social_Cognition/ , Python, 7 linesToM/ rulebasedpolicy/ point.py - examples/
Social_Cognition/ , Python, 26 linesToM/ rulebasedpolicy/ random_map.py - examples/
Social_Cognition/ , Python, 50 linesToM/ rulebasedpolicy/ statedata_pre.py - examples/
Social_Cognition/ , Python, 192 linesToM/ rulebasedpolicy/ world_model.py - examples/
Social_Cognition/ , Python, 36 linesToM/ utils/ Encoder.py - examples/
Social_Cognition/ , Python, 9 linesToM/ utils/ one_hot.py - examples/
Social_Cognition/ , Python, 311 linesaffective_empathy/ BAE-SNN/ BAESNN.py - examples/
Social_Cognition/ , Python, 548 linesaffective_empathy/ BAE-SNN/ env_poly.py - examples/
Social_Cognition/ , Python, 462 linesaffective_empathy/ BAE-SNN/ env_two_poly.py - examples/
Social_Cognition/ , Python, 398 linesaffective_empathy/ BEEAD-SNN/ BEEAD-SNN.py - examples/
Social_Cognition/ , Python, 98 linesaffective_empathy/ BEEAD-SNN/ RL_Brain.py - examples/
Social_Cognition/ , Python, 541 linesaffective_empathy/ BEEAD-SNN/ env.py - examples/
Social_Cognition/ , Python, 302 linesaffective_empathy/ BEEAD-SNN/ env_poly_SNN.py - examples/
Social_Cognition/ , Python, 62 linesaffective_empathy/ BEEAD-SNN/ rsnn.py - examples/
Social_Cognition/ , Python, 201 linesaffective_empathy/ BEEAD-SNN/ sd_env.py - examples/
Social_Cognition/ , Python, 256 linesaffective_empathy/ BEEAD-SNN/ snowdrift_main.py - examples/
Social_Cognition/ , Python, 550 linesaffective_empathy/ BRP-SNN/ BRP-SNN.py - examples/
Social_Cognition/ , Python, 375 linesaffective_empathy/ BRP-SNN/ env_poly_SNN.py - examples/
Social_Cognition/ , Python, 476 linesaffective_empathy/ BRP-SNN/ env_two_poly_SNN.py - examples/
Social_Cognition/ , Python, 205 linesmirror_test/ mirror_test.py - examples/
Spiking-Transformers/ , Python, 90 linesLIFNode.py - examples/
Spiking-Transformers/ , Python, 1,307 linesdatasets.py - examples/
Spiking-Transformers/ , Python, 1,011 linesmain.py - examples/
Spiking-Transformers/ , Python, 312 linesmodels/ spike_driven_transformer .py - examples/
Spiking-Transformers/ , Python, 312 linesmodels/ spike_driven_transformer _dvs.py - examples/
Spiking-Transformers/ , Python, 568 linesmodels/ spike_driven_transformer _v2.py - examples/
Spiking-Transformers/ , Python, 568 linesmodels/ spike_driven_transformer _v2_dvs.py - examples/
Spiking-Transformers/ , Python, 287 linesmodels/ spikformer.py - examples/
Spiking-Transformers/ , Python, 291 linesmodels/ spikformer_dvs.py - examples/
Structural_Development/ , Python, 254 linesDPAP/ mask_model.py - examples/
Structural_Development/ , Python, 244 linesDPAP/ prun_main.py - examples/
Structural_Development/ , Python, 55 linesDPAP/ utils.py - examples/
Structural_Development/ , Python, 53 linesDSD-SNN/ cifar100/ available.py - examples/
Structural_Development/ , Python, 567 linesDSD-SNN/ cifar100/ main_simplified.py - examples/
Structural_Development/ , Python, 124 linesDSD-SNN/ cifar100/ manipulate.py - examples/
Structural_Development/ , Python, 210 linesDSD-SNN/ cifar100/ maskcl2.py - examples/
Structural_Development/ , Python, 214 linesDSD-SNN/ cifar100/ vgg_snn.py - examples/
Structural_Development/ , Python, 154 linesELSM/ evolve.py - examples/
Structural_Development/ , Python, 123 linesELSM/ lsm.py - examples/
Structural_Development/ , Python, 141 linesELSM/ model.py - examples/
Structural_Development/ , Python, 220 linesELSM/ nsganet.py - examples/
Structural_Development/ , Python, 93 linesELSM/ spikes.py - examples/
Structural_Development/ , Python, 1 lineSCA-SNN/ inclearn/ __init__.py - examples/
Structural_Development/ , Python, 1 lineSCA-SNN/ inclearn/ convnet/ __init__.py - examples/
Structural_Development/ , Python, 31 linesSCA-SNN/ inclearn/ convnet/ classifier.py - examples/
Structural_Development/ , Python, 145 linesSCA-SNN/ inclearn/ convnet/ imbalance.py - examples/
Structural_Development/ , Python, 153 linesSCA-SNN/ inclearn/ convnet/ maskcl2.py - examples/
Structural_Development/ , Python, 342 linesSCA-SNN/ inclearn/ convnet/ network.py - examples/
Structural_Development/ , Python, 308 linesSCA-SNN/ inclearn/ convnet/ resnet.py - examples/
Structural_Development/ , Python, 232 linesSCA-SNN/ inclearn/ convnet/ sew_resnet.py - examples/
Structural_Development/ , Python, 128 linesSCA-SNN/ inclearn/ convnet/ utils.py - examples/
Structural_Development/ , Python, 1 lineSCA-SNN/ inclearn/ datasets/ __init__.py - examples/
Structural_Development/ , Python, 423 linesSCA-SNN/ inclearn/ datasets/ data.py - examples/
Structural_Development/ , Python, 246 linesSCA-SNN/ inclearn/ datasets/ dataset.py - examples/
Structural_Development/ , Python, 1 lineSCA-SNN/ inclearn/ models/ __init__.py - examples/
Structural_Development/ , Python, 154 linesSCA-SNN/ inclearn/ models/ base.py - examples/
Structural_Development/ , Python, 663 linesSCA-SNN/ inclearn/ models/ incmodel.py - examples/
Structural_Development/ , Python, 1 lineSCA-SNN/ inclearn/ tools/ __init__.py - examples/
Structural_Development/ , Python, 279 linesSCA-SNN/ inclearn/ tools/ autoaugment_extra.py - examples/
Structural_Development/ , Python, 41 linesSCA-SNN/ inclearn/ tools/ cutout.py - examples/
Structural_Development/ , Python, 21 linesSCA-SNN/ inclearn/ tools/ data_utils.py - examples/
Structural_Development/ , Python, 63 linesSCA-SNN/ inclearn/ tools/ factory.py - examples/
Structural_Development/ , Python, 155 linesSCA-SNN/ inclearn/ tools/ memory.py - examples/
Structural_Development/ , Python, 192 linesSCA-SNN/ inclearn/ tools/ metrics.py - examples/
Structural_Development/ , Python, 44 linesSCA-SNN/ inclearn/ tools/ results_utils.py - examples/
Structural_Development/ , Python, 88 linesSCA-SNN/ inclearn/ tools/ scheduler.py - examples/
Structural_Development/ , Python, 548 linesSCA-SNN/ inclearn/ tools/ similar.py - examples/
Structural_Development/ , Python, 299 linesSCA-SNN/ inclearn/ tools/ utils.py - examples/
Structural_Development/ , Python, 164 linesSCA-SNN/ main.py - examples/
Structural_Development/ , Python, 211 linesSD-SNN/ main.py - examples/
Structural_Development/ , Python, 334 linesSD-SNN/ prun_and_generation.py - examples/
Structural_Development/ , Python, 85 linesSD-SNN/ snn_model.py - examples/
Structural_Development/ , Python, 30 linesSD-SNN/ utils.py - examples/
Structure_Evolution/ , Python, 539 linesAdaptive_lsm/ BrainCog-Version/ brid.py - examples/
Structure_Evolution/ , Python, 86 linesAdaptive_lsm/ BrainCog-Version/ lsmmodel.py - examples/
Structure_Evolution/ , Python, 140 linesAdaptive_lsm/ BrainCog-Version/ maze.py - examples/
Structure_Evolution/ , Python, 280 lines, 1 matchAdaptive_lsm/ BrainCog-Version/ tools/ EnuGlobalNetwork.py - examples/
Structure_Evolution/ , Python, 99 linesAdaptive_lsm/ BrainCog-Version/ tools/ ExperimentEnvGlobalNetwo rkSurvival.py - examples/
Structure_Evolution/ , Python, 379 linesAdaptive_lsm/ BrainCog-Version/ tools/ MazeTurnEnvVec.py - examples/
Structure_Evolution/ , Python, 220 linesAdaptive_lsm/ BrainCog-Version/ tools/ nsganet.py - examples/
Structure_Evolution/ , Python, 214 linesAdaptive_lsm/ raw/ BCM.py - examples/
Structure_Evolution/ , Python, 131 linesAdaptive_lsm/ raw/ lstm.py - examples/
Structure_Evolution/ , Python, 121 linesAdaptive_lsm/ raw/ main.py - examples/
Structure_Evolution/ , Python, 139 linesAdaptive_lsm/ raw/ pltbcm.py - examples/
Structure_Evolution/ , Python, 39 linesAdaptive_lsm/ raw/ pltrank.py - examples/
Structure_Evolution/ , Python, 116 linesAdaptive_lsm/ raw/ q_l.py - examples/
Structure_Evolution/ , Python, 280 linesAdaptive_lsm/ raw/ tools/ EnuGlobalNetwork.py - examples/
Structure_Evolution/ , Python, 99 linesAdaptive_lsm/ raw/ tools/ ExperimentEnvGlobalNetwo rkSurvival.py - examples/
Structure_Evolution/ , Python, 379 linesAdaptive_lsm/ raw/ tools/ MazeTurnEnvVec.py - examples/
Structure_Evolution/ , Python, 60 linesEB-NAS/ acc_predictor/ adaptive_switching.py - examples/
Structure_Evolution/ , Python, 63 linesEB-NAS/ acc_predictor/ carts.py - examples/
Structure_Evolution/ , Python, 32 linesEB-NAS/ acc_predictor/ factory.py - examples/
Structure_Evolution/ , Python, 45 linesEB-NAS/ acc_predictor/ gp.py - examples/
Structure_Evolution/ , Python, 156 linesEB-NAS/ acc_predictor/ mlp.py - examples/
Structure_Evolution/ , Python, 35 linesEB-NAS/ acc_predictor/ rbf.py - examples/
Structure_Evolution/ , Python, 769 linesEB-NAS/ cellmodel.py - examples/
Structure_Evolution/ , Python, 511 linesEB-NAS/ ebnas.py - examples/
Structure_Evolution/ , Python, 322 linesEB-NAS/ micro_encoding.py - examples/
Structure_Evolution/ , Python, 235 linesEB-NAS/ motifs.py - examples/
Structure_Evolution/ , Python, 218 linesEB-NAS/ nsganet.py - examples/
Structure_Evolution/ , Python, 459 linesEB-NAS/ operations.py - examples/
Structure_Evolution/ , Python, 433 linesEB-NAS/ single_genome.py - examples/
Structure_Evolution/ , Python, 878 linesEB-NAS/ tm.py - examples/
Structure_Evolution/ , Python, 182 linesELSM/ evolve.py - examples/
Structure_Evolution/ , Python, 142 linesELSM/ lsm.py - examples/
Structure_Evolution/ , Python, 141 linesELSM/ model.py - examples/
Structure_Evolution/ , Python, 220 linesELSM/ nsganet.py - examples/
Structure_Evolution/ , Python, 93 linesELSM/ spikes.py - examples/
Structure_Evolution/ , Python, 274 linesMSE-NAS/ auto_augment.py - examples/
Structure_Evolution/ , Python, 693 linesMSE-NAS/ cellmodel.py - examples/
Structure_Evolution/ , Python, 571 linesMSE-NAS/ evolution.py - examples/
Structure_Evolution/ , Python, 79 linesMSE-NAS/ loss_f.py - examples/
Structure_Evolution/ , Python, 249 linesMSE-NAS/ micro_encoding.py - examples/
Structure_Evolution/ , Python, 194 linesMSE-NAS/ motifs.py - examples/
Structure_Evolution/ , Python, 218 linesMSE-NAS/ nsganet.py - examples/
Structure_Evolution/ , Python, 184 linesMSE-NAS/ obj.py - examples/
Structure_Evolution/ , Python, 436 linesMSE-NAS/ operations.py - examples/
Structure_Evolution/ , Python, 802 linesMSE-NAS/ tm.py - examples/
Structure_Evolution/ , Python, 225 linesMSE-NAS/ utils.py - examples/
TIM/ , Python, 1,002 linesmain.py - examples/
TIM/ , Python, 52 linesmodels/ TIM.py - examples/
TIM/ , Python, 307 linesmodels/ spikformer_braincog_DVS. py - examples/
TIM/ , Python, 309 linesmodels/ spikformer_braincog_SHD. py - examples/
TIM/ , Python, 13 linesutils/ MyGrad.py - examples/
TIM/ , Python, 73 linesutils/ MyNode.py - examples/
TIM/ , Python, 1,348 linesutils/ datasets.py - examples/
decision_making/ , Python, 113 linesBDM-SNN/ BDM-SNN-UAV.py - examples/
decision_making/ , Python, 496 linesBDM-SNN/ BDM-SNN-hh.py - examples/
decision_making/ , Python, 504 linesBDM-SNN/ BDM-SNN.py - examples/
decision_making/ , Python, 617 linesBDM-SNN/ decisionmaking.py - examples/
decision_making/ , Python, 1 lineRL/ atari/ __init__.py - examples/
decision_making/ , Python, 247 linesRL/ atari/ atari_wrapper.py - examples/
decision_making/ , Python, 233 linesRL/ mcs-fqf/ discrete.py - examples/
decision_making/ , Python, 266 linesRL/ mcs-fqf/ main.py - examples/
decision_making/ , Python, 106 linesRL/ mcs-fqf/ network.py - examples/
decision_making/ , Python, 176 linesRL/ mcs-fqf/ policy.py - examples/
decision_making/ , Python, 254 linesRL/ sdqn/ main.py - examples/
decision_making/ , Python, 85 linesRL/ sdqn/ network.py - examples/
decision_making/ , Python, 5 linesRL/ utils/ __init__.py - examples/
decision_making/ , Python, 355 linesRL/ utils/ normalization.py - examples/
decision_making/ , Python, 291 linesswarm/ Collision-Avoidance.py - setup.py, Python, 27 lines
- LICENSE, License, 202 lines
- README.md, Text, 172 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 543 scripts, each with its path and the digest of its content;
- 1 match between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Code and data availability statement
The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: braincog-x/
brain-cog
Read it in the paper: doi.org/10.1038/s41598-026-43529-1.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 11 keywords, 9 MeSH terms, 2 funders, 37 references.
Cite
This paper
Liang, Q., Zeng, Y., & Tang, M. (2026). A spiking neural network inspired by neuroscience and psychology for Western mode- and key-conditioned music learning and composition. Scientific reports, 16(1), 12956. https://
BibTeX
@article{liang2026spikin
author = {Liang, Qian and Zeng, Yi and Tang, Menghaoran},
title = {{A spiking neural network inspired by neuroscience and psychology for Western mode- and key-conditioned music learning and composition}},
journal = {Scientific reports},
year = {2026},
month = mar,
volume = {16},
number = {1},
pages = {12956},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/
url = {https://
pmid = {41807549},
pmcid = {PMC13096507}
}
RIS
TY - JOUR
AU - Liang, Qian
AU - Zeng, Yi
AU - Tang, Menghaoran
TI - A spiking neural network inspired by neuroscience and psychology for Western mode- and key-conditioned music learning and composition
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/
VL - 16
IS - 1
SP - 12956
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "A spiking neural network inspired by neuroscience and psychology for Western mode- and key-conditioned music learning and composition",
"container-title": "Scientific reports",
"author": [
{
"family": "Liang",
"given": "Qian"
},
{
"family": "Zeng",
"given": "Yi"
},
{
"family": "Tang",
"given": "Menghaoran"
}
],
"container-title-short":
"volume": "16",
"issue": "1",
"page": "12956",
"DOI": "10.1038/
"PMID": "41807549",
"PMCID": "PMC13096507",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
10
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41467-026-74358-5 [code]
- Brain-inspired spatial intelligence for embodied agents.Journal: Nature communicationsIn common: imageio, TensorFlow, NetworkX, 9 other tools, cognitive, 1 reference
- [2] doi:10.1371/journal.pcbi.1014571 [code]
- SynAPSeg: A novel dataset and image analysis framework for deep learning-based synapse detection and quantification.Journal: PLoS computational biologyIn common: imageio, TensorFlow, NetworkX, 9 other tools
- [3] doi:10.1016/j.xcrm.2026.102766 [code]
- A longitudinal single-cell and spatial multiomic atlas of pediatric high-grade glioma.Journal: Cell reports. MedicineIn common: imageio, TensorFlow, NetworkX, 8 other tools
- [4] doi:10.1364/boe.605322 [code]
- Generalized plaque digitization framework for multi-dimensional mesoscopic images.Journal: Biomedical optics expressIn common: imageio, TensorFlow, OpenCV, 8 other tools
- [5] doi:10.1038/s41593-026-02388-9 [code]
- Hippocampal CA3 connectomics reveals a gradient of mossy fiber inputs and selective feedforward inhibition onto pyramidal cells.Journal: Nature neuroscienceIn common: imageio, NetworkX, OpenCV, 8 other tools
- [6] doi:10.1038/s42003-026-10957-8 [code]
- Brain defence by the extracellular matrix protein Cochlin.Journal: Communications biologyIn common: TensorFlow, NetworkX, OpenCV, 8 other tools
- [7] doi:10.1016/j.isci.2026.115488 [code]
- An integrated &
lt;i& gt;i& lt;/ i& gt; & lt;i& gt;n vitro& lt;/ i& gt; platform and biophysical modeling approach for studying synaptic transmission in isolated neuronal pairs. Journal: iScienceIn common: NetworkX, OpenCV, Pillow, 7 other tools, 1 reference - [8] doi:10.1186/s12880-026-02481-2 [code]
- Deep learning-based neuroanatomical profiling reveals population-specific brain changes in multiple sclerosis: a large-scale Middle Eastern study.Journal: BMC medical imagingIn common: imageio, TensorFlow, OpenCV, 7 other tools
- [9] doi:10.1038/s41467-026-74357-6 [code]
- Hippocampo-neocortical interaction as compressive retrieval-augmented generation.Journal: Nature communicationsIn common: NetworkX, Pillow, PyTorch, 6 other tools, computational modeling (no new data), 1 reference
- [10] doi:10.1016/j.isci.2026.116168 [code]
- See the small lesions: Frequency-guided spatial debiasing GAN for multimodal medical image fusion.Journal: iScienceIn common: imageio, TensorFlow, OpenCV, 7 other tools
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 543 scripts, and 1 match between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:51061a3c7f43d504…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
