Giter Site home page Giter Site logo

About train about glue-factory HOT 2 OPEN

cvg avatar cvg commented on May 29, 2024
About train

from glue-factory.

Comments (2)

mattiasmar avatar mattiasmar commented on May 29, 2024

Try the following to install PoseLib:

Install Dependencies:
apt-get update
apt-get install git cmake -y
apt-get install python3 python3-pip libeigen3-dev -y
python3 -m pip install --upgrade setuptools pip

Install PoseLib:
git clone https://github.com/vlarsson/PoseLib.git
cd PoseLib && git submodule init && git submodule update && pip install .

from glue-factory.

D-S-Kolesnikova avatar D-S-Kolesnikova commented on May 29, 2024

Hello, could you please help me. I meet attributeError: 'tqdm' object has no attribute 'last_print_t" such error when starting training by script:
python -m gluefactory.train sp+lg_homography --conf gluefactory/configs/superpoint+lightglue_homography.yaml

full log:
[10/25/2023 14:29:55 gluefactory INFO] Starting experiment sp+lg_homography [10/25/2023 14:29:55 gluefactory INFO] Using device cpu --- Logging error --- [10/25/2023 14:30:00 gluefactory.datasets.base_dataset INFO] Creating dataset HomographyDataset --- Logging error --- [10/25/2023 14:30:00 gluefactory.datasets.homographies INFO] Downloading the revisitop1m dataset. --- Logging error --- Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "D:\glue-factory\gluefactory\train.py", line 691, in
main_worker(0, conf, output_dir, args)
File "D:\glue-factory\gluefactory\train.py", line 628, in main_worker
training(rank, conf, output_dir, args)
File "D:\glue-factory\gluefactory\train.py", line 258, in training
dataset = get_dataset(data_conf.name)(data_conf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\glue-factory\gluefactory\datasets\base_dataset.py", line 143, in init
self._init(self.conf)
File "D:\glue-factory\gluefactory\datasets\homographies.py", line 92, in _init
self.download_revisitop1m()
File "D:\glue-factory\gluefactory\datasets\homographies.py", line 140, in download_revisitop1m
torch.hub.download_url_to_file(url_base + list_name, tmp_dir / list_name)
File "D:\glue-factory\trainingEnv\Lib\site-packages\torch\hub.py", line 648, in download_url_to_file
with tqdm(total=file_size, disable=not progress,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\glue-factory\trainingEnv\Lib\site-packages\tqdm\std.py", line 1097, in init
self.sp = self.status_printer(self.fp)
^^^^^^^^^^^^^^^^^^^^^^
File "D:\glue-factory\trainingEnv\Lib\site-packages\tqdm\std.py", line 451, in status_printer
getattr(sys.stderr, 'flush', lambda: None)()
OSError: [WinError 1] Incorrect function
Exception ignored in: <function tqdm.del at 0x0000017962825BC0> Traceback (most recent call last):
File "D:\glue-factory\trainingEnv\Lib\site-packages\tqdm\std.py", line 1149, in del
self.close()
File "D:\glue-factory\trainingEnv\Lib\site-packages\tqdm\std.py", line 1278, in close
if self.last_print_t < self.start_t + self.delay:
AttributeError: 'tqdm' object has no attribute 'last_print_t'

from glue-factory.

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.