Giter Site home page Giter Site logo

Comments (2)

haiyang-traceto avatar haiyang-traceto commented on August 20, 2024

I had checked the readme file, but have no idea about how to run the create_gt_test_set_shtech.m file.

from crowd-counting-with-mcnns.

sohaiblaraba avatar sohaiblaraba commented on August 20, 2024

I think it's the same as the folder available in many gits. Like this one: https://github.com/svishwa/crowdcount-cascaded-mtl/tree/master/data_preparation
I have tested it and it works.
You just need to

  • change the names of the folders part_A and part_B to part_A_final and part_B_final respectively.
  • change the name of the folder ground-truth to ground_truth
  • and, if you are using Octave (I don't know about Matlab), run pkg load image before runing the code (to import necessary lib).

(again, if you are using Octave, there's a missing function called rng in create_training_set_shtech.m, you can add these lines (creating the function) at the beginning:

function rng(x) 
  randn("seed",x) 
  rand("seed",x) 
end

from crowd-counting-with-mcnns.

Related Issues (5)

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.