Hi, I want to make a CNN model to work as a preprocessing model for images to do a task which is extracting linear features from images with CNN, here is an example below:
Image11387×761 103 KB
I downloaded a pretrained model then I fine tuned it (changed weights and some layers), the model worked with train and test data (I visualized feature maps of each convolutional layer). My questions are:

How to convert/use a supervised CNN model to an unsupervised CNN or at least how to pass  my image directly without splitting data ?
Is it possible to drop the fully connected layer in a CNN model because I saw an architecture like that in an article ?

if anyone could help it would be appreciated.