Giter Site home page Giter Site logo

caffe-oxford102's Introduction

Hi there 👋

I do open source research with LAION and Stability AI MedARC on reconstructing complex images from fMRI brain activity using diffusion models.

caffe-oxford102's People

Contributors

jimgoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

caffe-oxford102's Issues

can you tell me ?

I use the same way as you and obtained a good performance,but when I use a single picture to test the model it only obtained 0.0098 accuracy.....please tell me why?

How did you normalize the images before training?

I am trying to implement the same project but using Tensorflow, and I was surprised when you were able to achieve 80% accuracy after only 500 iterations. May I ask how did you normalize the images before training? Did you divide them by 255 or subtract the ImageNet mean?
Thank you

[Question] Could you tell me how to use /oxford102.caffemodel?

Hi.

Since http://zeus.robots.ox.ac.uk/flower_demo/demo currently doesn't work, I am trying your model.

I wrote the following script, but it outputs almost same percentage (about 1%) probabilities of all labels even if the input is the one in the data set.

Could you tell me my misunderstanding to use your model?

Thanks,

import numpy as np
import caffe

classifier = caffe.Classifier("<git folder>/caffe-oxford102/AlexNet/deploy.prototxt", "oxford102.caffemodel")

image = caffe.io.load_image("<git folder>/caffe-oxford102/data/jpg/image_00348.jpg")
inputs = [image]

predictions = classifier.predict(inputs, oversample=False)
print(predictions)

VGG_S finetune

Hi,
Thanks for sharing the experiments info, I was wondering that if could give me a link to pretrained-weight for VGG_S finetune part?

About dataset

Hi, How can I get my own dataset format, like the imagelabels.mat and setid.mat if I want train my own models, Thx

type: IMAGE_DATA ?

the layer is:

layers {
  name: "data"
  type: IMAGE_DATA
  top: "data"
  top: "label"
  image_data_param {
    #source: "/home/ubuntu/git/caffe-oxford102/train.txt"
        source: "/home/ubuntu/git/caffe-oxford102/test.txt" # Flipped
    batch_size: 50
    new_height: 256
    new_width: 256
  }
  transform_param {
    crop_size: 227
    mean_file: "/home/ubuntu/caffe/data/ilsvrc12/imagenet_mean.binaryproto"
    mirror: true
  }
  include: { phase: TRAIN }
}

erro is:
Unknown layer type: ImageData (known types: AbsVal, Accuracy, ArgMax, BNLL, BatchNorm, BatchReindex, Bias, Concat, ContrastiveLoss, Convolution, Crop, Data, Deconvolution, Dropout, DummyData, ELU, Eltwise, Embed, EuclideanLoss, Exp, Filter, Flatten, HDF5Data, HDF5Output, HingeLoss, Im2col, InfogainLoss, InnerProduct, Input, LRN, LSTM, LSTMUnit, Log, MVN, MemoryData, MultinomialLogisticLoss, PReLU, Parameter, Pooling, Power, Python, RNN, ReLU, Reduction, Reshape, SPP, Scale, Sigmoid, SigmoidCrossEntropyLoss, Silence, Slice, Softmax, SoftmaxWithLoss, Split, TanH, Threshold, Tile)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.