Comments (10)
@lw0210 Hi, thanks for reporting this bug!
This bug happens due to the absence of high-quality and mid-quality datasets, and we have fixed this situation in our latest code.
from adelaidepth.
Thank you @guangkaixu . I have run the latest code. I can run demo, but run sh train Sh the error message displays "typeerror: 'nonetype' object is not subscribable"
The contents are as follows:
Traceback (most recent call last):
File "/home/liwei/anaconda3/envs/LeReS/lib/python3.7/site-packages/torch/utils/data/utils/worker.py", line 185, in _ worker loop
data = fetcher.fetch(index)
File "/home/liwei/anaconda3/envs/LeReS/lib/python3.7/site-packages/torch/utils/data/utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly batched_ index]
File "/home/liwei/anaconda3/envs/LeReS/lib/python3.7/site-packages/torch/utils/data/utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly batched_ index]
File "/home/liwei/anaconda3/envs/LeReS/lib/python3.7/site-packages/torch/utils/data/dataset.py", line 207, in __ getitem__
return self.datasets[dataset_idx][sample_idx]
File "/home/liwei/paper31/AdelaiDepth/LeReS/Train/data/multi_dataset.py", line 79, in __ getitem__
data = self.online_ aug(anno_index)
File "/home/liwei/paper31/AdelaiDepth/LeReS/Train/data/multi_dataset.py", line 114, in online_ aug
rgb = cv2.imread(rgb_path)[:, :, ::-1]# rgb, HWC
TypeError: 'NoneType' object is not subscriptable
from adelaidepth.
@lw0210 This error occurs due to the incorrect rgb_path in train_annotation.json. Please prepare the training data following the step 'Training-2' and put it under Train/datasets
. If you would like to train on customized datasets, please generate the train_annotation.json first, which contains rgb_path and depth_path at least.
from adelaidepth.
I have downloaded the four datasets (in the win system) again and put them in the corresponding positions as required. I still have this error "typeerror: 'nonetype' object is not subscribable" during the operation (Holopix50k is removed) @guangkaixu
from adelaidepth.
@lw0210 The validation datasets should contain depth images rather than disparity images, which has been filtered automatically in our latest released code. Also, please update the annotation files of taskonomy according to download_data.sh.
from adelaidepth.
Hello, I passed the command sh train sh to run the training network and get some pth files. I put one of the files into the corresponding folder and run test_ depth.py or test_ shape.py, there will be an error keyerror: depth_ model。 I passed ‘torch load()’ command prints res50.pth and the pth I have trained. It shows that res50 contains [depth_model, shift_model, focal_model], my pth contains [step, epoch, batchsize, scheduler, val_err, model_state_dict, optimizer]. How can I get the model weights like res50.pth or res101.pth. @guangkaixu
from adelaidepth.
@lw0210 Hi, Sorry for the late response due to some busy work.
If you want to load the self-trained checkpoint, please follow this to modify your code: #44 (comment). It will be fixed later, thank you!
from adelaidepth.
Thank you! I can run the test_depth.py by loading the self-trained checkpoint and get depth map.But how can I run the test_shape.py?The 'shift_model' and 'focal_model' are still missing.How can I modify my code? @guangkaixu
from adelaidepth.
The code for 'shift_model' and 'focal_model' have not been released yet. We will consider reorganizing and releasing it but it will be time-spending. Thanks for your understanding!
from adelaidepth.
ok,Thanks!
from adelaidepth.
Related Issues (20)
- No module named 'lib' error in AdelaiDepth_ResNet101.ipynb HOT 2
- Where to find "SparseTensor"? HOT 1
- Infinit focal length!!! HOT 1
- Error occurred in LeReS HOT 1
- Error on 'Download' step of Google Collab HOT 3
- how to generate depth data like you provide? HOT 1
- About Taskonomy dataset camera camera intrinsics HOT 2
- Need Pretrained Parameters HOT 1
- Torchsparse v1.2.0 vs. v2.1.0 HOT 1
- Visualize with texture. HOT 1
- DIML dataset missing 'disp' data
- some dataset
- Questions about the training resolution and auxiliary network.
- Evaluation samples on ScanNet
- Docker for RTX class GPU for LeReS
- Problem in downloading Weights HOT 3
- Reconstructing the 3D point cloud when the intrinsic is known
- problem with TorchSparse version HOT 1
- How to get instance planes HOT 1
- Empty .pth of Google Colab HOT 2
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 adelaidepth.