GithubHelp home page GithubHelp logo

Comments (3)

AbnerHqC avatar AbnerHqC commented on August 27, 2024

Could you be more specific? Post the error message?

from gaitset.

as472780551 avatar as472780551 commented on August 27, 2024

Initialzing...
Initializing data source...
Loading training data...
Traceback (most recent call last):
File "train.py", line 18, in
m = initialization(conf, train=opt.cache)[0]
File "/media/zrj/新加卷/ubuntu18.04/gaitset/GaitSet-master/model/initialization.py", line 57, in initialization
train_source, test_source = initialize_data(config, train, test)
File "/media/zrj/新加卷/ubuntu18.04/gaitset/GaitSet-master/model/initialization.py", line 18, in initialize_data
train_source.load_all_data()
File "/media/zrj/新加卷/ubuntu18.04/gaitset/GaitSet-master/model/utils/data_set.py", line 45, in load_all_data
self.load_data(i)
File "/media/zrj/新加卷/ubuntu18.04/gaitset/GaitSet-master/model/utils/data_set.py", line 48, in load_data
return self.getitem(index)
File "/media/zrj/新加卷/ubuntu18.04/gaitset/GaitSet-master/model/utils/data_set.py", line 62, in getitem
data = [self.loader(_path) for _path in self.seq_dir[index]]
File "/media/zrj/新加卷/ubuntu18.04/gaitset/GaitSet-master/model/utils/data_set.py", line 62, in
data = [self.loader(_path) for _path in self.seq_dir[index]]
File "/media/zrj/新加卷/ubuntu18.04/gaitset/GaitSet-master/model/utils/data_set.py", line 52, in loader
path)[:, :, self.cut_padding:-self.cut_padding].astype(
File "/media/zrj/新加卷/ubuntu18.04/gaitset/GaitSet-master/model/utils/data_set.py", line 79, in img2xarray
for _img_path in imgs
File "/media/zrj/新加卷/ubuntu18.04/gaitset/GaitSet-master/model/utils/data_set.py", line 80, in
if osp.isfile(osp.join(flie_path, _img_path))]
File "/home/zrj/.conda/envs/pytorch35/lib/python3.5/site-packages/numpy/core/fromnumeric.py", line 279, in reshape
return _wrapfunc(a, 'reshape', newshape, order=order)
File "/home/zrj/.conda/envs/pytorch35/lib/python3.5/site-packages/numpy/core/fromnumeric.py", line 51, in _wrapfunc
return getattr(obj, method)(*args, **kwds)
ValueError: cannot reshape array of size 230400 into shape (64,64,newaxis)
@AbnerHqC

from gaitset.

AbnerHqC avatar AbnerHqC commented on August 27, 2024

The original silhouette should first be cut, aligned and resized into 64*64.

from gaitset.

Related Issues (20)

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.