Comments (2)
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.
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)
- Any numbers for new models (open SP, ALIKED, SIFT)? HOT 3
- LightGlue weights trained on SuperPoint-Open features HOT 2
- Performance differences between 2 versions of SuperPoint with pretrained weights HOT 5
- Issues with lrscheduler HOT 1
- Questions about training data HOT 1
- Training on my own dataset HOT 1
- Eval on WxBS HOT 3
- About training LightGlue in two stages HOT 1
- Danger: Albumentations MotionBlur is shifting our images
- Possibly faster training HOT 4
- Training SuperGlue on custom data HOT 2
- I have a problem after training is complete
- question about the relative_pose_error
- Discrepancy in training config w.r.t. paper
- Possible typo? HOT 1
- KeyError: 'Unable to synchronously open object (component not found)' HOT 1
- KeyError: 'loss/total' HOT 3
- Conversion of trained checkpoint to official lg checkpoint HOT 4
- A failed attempt to use official PTH as the initial training value HOT 1
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.