Giter Site home page Giter Site logo

cnn-rnn2016's People

Contributors

asuradayuci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cnn-rnn2016's Issues

TypeError: object of type 'Image' has no len()

你好 訓練跑完準備評估之後出現如此問題 請問該如何解決(除路徑以外未改其他code)

File D:\CNN-RNN2016-master\prid_data.py:149 in
main(args)

File D:\CNN-RNN2016-master\prid_data.py:106 in main
top1 = evaluator.evaluate(query_loader, gallery_loader, dataset.queryinfo, dataset.galleryinfo)

File D:\CNN-RNN2016-master\eval\evaluator.py:85 in evaluate
pooled_probe = self.extract_feature(query_loader) # 1980 * 128

File D:\CNN-RNN2016-master\eval\evaluator.py:51 in extract_feature
for i, inputs in enumerate(data_loader):

File "D:\CNN-RNN2016-master\dataprocess\video_loader.py", line 140, in getitem
img = self.transform(img)
File "D:\CNN-RNN2016-master\dataprocess\seqtransform.py", line 32, in call
seqs = t(seqs)
File "D:\CNN-RNN2016-master\dataprocess\seqtransform.py", line 43, in call
modallen = len(seqs) # 1个list

TypeError: object of type 'Image' has no len()

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.