Comments (3)
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.
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.
I have the same issue:
AttributeError: 'tqdm' object has no attribute 'last_print_t'
Did you figure out why? Thanks.
from glue-factory.
Related Issues (20)
- Why duplicating the log_assignment calculation? HOT 1
- question about homography transformations HOT 2
- Could you please provide some checksum for the dataset?
- what is the approximate training time for each stages? HOT 1
- stuck at the "Creating dataset ImagePairs" when evaluate lightglue on megadepth HOT 1
- How to train lightglue with my extractor? HOT 2
- train => disk +lg HOT 1
- pycolmap error HOT 1
- DeDoDe HOT 1
- memory not release HOT 3
- mixed precision training
- Error:_pickle.UnpicklingError: invalid load key, '\x0a'.
- what is add_scale_ori and how to use it?
- gluestick training time HOT 3
- simpler GT line matching HOT 1
- the two places name the gamma differently?
- Performance
- The Required Datasets for Training. HOT 1
- Whether to reuse the Sigmoid function in the confidence loss calculation code?
- Instability of LightGlue training
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glue-factory.