Skip to content

Code + Data for paper Emergent Properties of Foveated Perceptual Systems

License

Notifications You must be signed in to change notification settings

ArturoDeza/EmergentProperties

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emergent Properties of Foveated Perceptual Systems

Code + Data for paper Emergent Properties of Foveated Perceptual Systems

Reference Foveation-Texture Uniform-Blur Foveation-Blur
$ bash download_All_Files_and_Folders.sh

All Networks

Contains the PyTorch checkpoints to monitor the evolultion of each one of the randomly initialized networks (paired across sytems) for each perceptual system: Reference, Foveation-Texture, Uniform-Blur, Foveation-Blur > Subdivided into Network model (AlexNet or ResNet18) > subdivided by 10. Sanity check observation: Epoch 0 across ALL systems per run should be the same (e.g. all weights of epoch 0 networks are the same for Reference, Foveation-Texture, Uniform-Blur and Foveation-Blur for run ID 1, but these are different for run id 2; Same within run, different across runs)

Dataset Files

Contains the Training, Validation and Testing partition of the images.

Training

Contains the main train_MiniPlaces.py file that is used to train all perceptual systems reported in the paper. Code is flexible to be used in other training schemes as well.

Filters

Contains code to Visualize the evolution of the learned filters and create animated .gifs as above.

Generalization

Contains code to reproduce the Generalization Experiments and a pipeline to integrate further experiments as well.

Robustness to Occlusion

Contains code to reproduce the Robustness to Occlusion Experiments (Glaucoma + Scotoma) and a pipeline to integrate further experiments as well. We also have the Left2Right and Top2Bottom conditions coded here as well. This folder also contains the occluded stimuli used in our experiments.

Spatial Frequency

Contains code to reproduce the Spatial Frequency Sensitivity Experiments (High Pass and Low Pass). We also have the High Pass and Low Pass (GRAY) controls where the stimuli are transformed to grayscale to test if these differences are due to color processing (they are not). This folder also contains the occluded stimuli used in our experiments.

Window Cue Conflict

Contains code to reproduce the Window Cue Conflict Experiment. This folder also contains the occluded stimuli used in our experiments.

Square Uniform Cue Conflict

Contains code to reproduce the Square Uniform Cue Conflict Experiment -- which is an additional control of the Window Cue Conflict experiment where the conflicting classes are uniformly sampled (vs regularly mis-matched), and also have a square window with a finer sampling step (similar to occlusion). This folder also contains the occluded stimuli used in our experiments.

Render Loss Function

Contains code to render the individual and aggregate losses (Training + Validation) as a function of epoch across all runs and systems.

Render Learning Dynamics

Contains code to render the individual and aggregate Validation Accuracy as a function of epoch across all runs and systems.

Relevant code to generate a foveated-texture-based image: https://github.com/ArturoDeza/NeuroFovea_PyTorch

If you found this code useful for your research, please cite (currently under review):

@misc{deza2021emergent,
      title={Emergent Properties of Foveated Perceptual Systems}, 
      author={Arturo Deza and Talia Konkle},
      year={2021},
      eprint={2006.07991},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

About

Code + Data for paper Emergent Properties of Foveated Perceptual Systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published