Giter Site home page Giter Site logo

technical problem about banmo HOT 6 OPEN

Tong-Gao-dream avatar Tong-Gao-dream commented on September 4, 2024
technical problem

from banmo.

Comments (6)

gengshan-y avatar gengshan-y commented on September 4, 2024

Hi, you will need to download the data first (as here)

bash misc/processed/download.sh cat-pikachiu

from banmo.

Tong-Gao-dream avatar Tong-Gao-dream commented on September 4, 2024

Thank you very much for your reply. I have downloaded pre-processed data via script before. But still there will be "AssertionError: datasets should not be an empty iterable"

from banmo.

gengshan-y avatar gengshan-y commented on September 4, 2024

This error suggests the config file is not found:

banmo/utils/io.py

Lines 305 to 310 in b9dab80

numvid = len(config.sections())-1
datalist = []
for i in range(numvid):
dataset = get_config_info(opts, config, 'data_%d'%i, i, is_eval=is_eval)
datalist = datalist + dataset
dataset = torch.utils.data.ConcatDataset(datalist)

Can you make sure the following?

  1. running echo $seqname in the terminal returns cat-pikachiu-sub. If it does not, you can directly run python preprocess/img2lines.py --seqname cat-pikachiu-sub
  2. file configs/cat-pikachiu-sub.config exists

from banmo.

Tong-Gao-dream avatar Tong-Gao-dream commented on September 4, 2024

Thank you very much for your patience, I understand what the problem is. grateful!

from banmo.

fansunqi avatar fansunqi commented on September 4, 2024

Hi,
I'm having the same problem reproducing the thesis work, but I can't figure out the problem. When I run python preprocess/img2lines.py --seqname $seqname, It will be AssertionError: datasets should not be an empty iterable . I have already downloaded pre-processed data via script before and it's in the database/DAVIS/... folder. The $seqname is also right.
Could you tell me how to solve it? Thank you very much!

from banmo.

fansunqi avatar fansunqi commented on September 4, 2024

Oh I figure out why.
Actually I download raw videos and pre-process raw videos into banmo format, following the instructions herehttps://github.com/facebookresearch/banmo/tree/main/preprocess. Then the dataset is like:
DAVIS/ JPEGImages/ Full-Resolution/ cat_pikachiu001/ {%05d}.jpg
However, my config/cat-pikachiu.config is like :
[data_1] ks = 1920 1920 540 960 datapath = database/DAVIS/JPEGImages/Full-Resolution/cat-pikachiu01/

a zero is missed after cat-pikachiu TT

from banmo.

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.