Skip to content

I worked on this project during my internship in Object Vision Group at CIMeC. For a dataset of object and scene images, I used transfer learning to test the feature extraction of several neural networks by applying representational similarity analysis (RSA).

Notifications You must be signed in to change notification settings

orhansoyuhos/RSA-for-Object-Scene-Perception

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

RSA-for-Object-Scene-Perception

The primary goal of this project was to determine whether images containing both objects and scenes belong to the object or scene category. To address this question, I employed various neural networks, such as ResNet and AlexNet, initially trained on object classification (ImageNet) or scene classification (Places365) tasks. I then fine-tuned these networks using a custom dataset of object and scene images to adapt their feature extraction capabilities.

For evaluation, I utilized a separate testing dataset containing images of objects, scenes, and both conditions. I extracted features from each layer of the neural networks and assessed which model (control, scene, or object) could best explain the variance in the feature space across the different layers of the networks using representational similarity analysis (RSA). This involved extracting representational dissimilarity matrices (RDMs) for each network. For instance, the RSA results indicated that images containing both objects and scenes are more similar to scenes rather than objects in the last layers of AlexNet trained on ImageNet.

However, the overall results were not significant, indicating that the models were unable to effectively explain the variance in the feature space. This suggests that a better set of images or a different approach may be needed to improve the prediction accuracy for the 'both' condition.

Code

The project includes two main components: the 'Python_extractFeatures' folder for feature extraction from the neural networks, and the 'MATLAB_extractRDMs' folder for extracting RDMs for RSA, with the results available in the '/figures' folder.

Example image set

obj_scene_ copy

Example feature extraction (Alexnet trained on Imagenet)

  • RDMs for models and features: example

  • RSA results: example_Alexnet(Imagenet)

Acknowledgement

  • This project was part of my research internship in the Object Vision Group at CIMeC. I would like to thank and acknowledge Dr. Stefania Bracci’s supervision during my training.

About

I worked on this project during my internship in Object Vision Group at CIMeC. For a dataset of object and scene images, I used transfer learning to test the feature extraction of several neural networks by applying representational similarity analysis (RSA).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published