robust-lane-detection's People
Forkers
shiyuan0806 jtpils lzb863 hwjiang1510 daiqy parksangbae luyuliu gaelkt scud3r1a trindadegm zumbalamambo zhugeliang1 kindow polytronicgr kfriesth nickgoberville xrosliang d-misra yaohan404 bobdeng1974 hanzhy-code vannat11 yongqidong luuvus yikewang1103 yutaekoh juuwong sunstarchan sakshikakde k-imlab oliverbihop beepbloop yokko123 kangcp97 taemt94 overtunned machengnan sigma117 tianbingsheng liruohan5 selma-21 wangwanglianhe hrgentry ksang yeonhl mych907 atulramkrishnan devkhanel lxhy9799 liuxinren456852 pprasannan9707 wudada66 vaidehi44 ryanlu0522 ruohanlixyf nikunjparmar828 id-acy yao-pacome-kouame ahmad12hamdan99 ruabert avi9700 flash-z phoenix9032 ajoychowdhury tzuryby fightseedrobust-lane-detection's Issues
How to do multi-GPU training
I did not find the code for multi-GPU training in your code. Could you please tell me how to run code with two or four GPUs at the same time
Where trained model is saved after training
I am trying to run the code from scratch and trying to create my own model after training. Training successfully completes and i get a folder named 97.8457815.pth in the root directory. Upon extracting, this folder contains data folder, data.pkl and version folder. I want to ask which one is the trained model in these files. i considered data.pkl as trained model and save it in pretrained folder but upon executing test.py it unable to pick the trained model. whereas if i save your provided trained model i.e unetlstm, then it works fine. Moreover, in train.py file the trained model is saved at line 44 with the extension of .pth file but it is not saved like that in actual. Please guide me how can i get my trained model after completing the training of the model.
test_index
How could I make the test_index? Thanks.
Ask for the complete text index
Could you upload the complete text index?
increase image resolution
How to increase image resolution? Current resolution (256,128) is too low.
Thanks,
关于评估指标
你好,我发现您写的评估指标和使用混淆矩阵计算出来的评估结果差别比较大,我没搞明白是为啥?
how to get prediction.json from the results predicted from tusimple for comparing with the labels of tusimple?
please show the details "how to calculate json file from the predicted results of tusimple" at your convenience. thank you very much
Error- need the procedure to execute the project
When I executed the train.py and test.py . it leads error
ipykernel_launcher.py: error: unrecognized arguments: -f /home/jayamani/.local/share/jupyter/runtime/kernel-9bb45534-702f-4755-841c-299558dd0d1e.json
An exception has occurred, use %tb to see the full traceback.
Tools.py
name 'op_split_lstm' is not defined
What is the difference between train_index and train_index_new?
I have downloaded your dataset from google drive.
What is the difference between train_index.txt
and train_index_new.txt
, val_index.txt
and val_index_new.txt
?
Which one did you use in your paper? I also find the files in your code. What is the difference between them? Which one should I use?
train_index.txt和val_index.txt
请问train_index.txt和val_index.txt可以给我发一下吗?应该怎么生成呢?
dataset
Hello, can you give me the dataset? There is no dataset in the download link.
question about time step parameter in convlstm
I don't see a parameter in convlstm model below which allows me to specify how many frames to be used.
def init(self, input_size, input_dim, hidden_dim, kernel_size, num_layers,
batch_first=False, bias=True, return_all_layers=False):
Your current model is 5 and I am thinking to adjust this number to be higher or lower.
Thanks,
cuda is not enabled it is showing how to retificy that solution
How can I draw truth image line?
I hope to add new train set but I don't know how to make label image with new load image.
Could you let me know how to draw the label image or which tools you used?
Couldn't find all pretrained models
Hi, I saw that you have included in the README that you have pretrained model for ConvLSTM, UNet-ConvLSTM) as well as the comparable two(SegNet, UNet).
But I could only find pretrained model for UNet-ConvLSTM in the download link. Can you please share the other pretrained models?
Where is test index?
I have looked in the links you provided from baidu and gdrive, it seems that "test_index.txt" file is missing. Could you advise me on this?
Why the SegNet_ConvLSTM outputs F.log_softmax(up1, dim=1)?
Why the SegNet_ConvLSTM
and SegNet
output F.log_softmax(up1, dim=1)
?
The Cross Entropy loss function has already the softmax operation.
the output of latent space of LSTM
Hi, thanks a lot for publishing the code. It is a very interesting work. I am currently able to run the code with my own dataset. However, I notice that the latent space by LSTM is also an output for the training phase (test
):
May I ask why the test
is also considered when calculating the loss? Many thanks :)
TABLE II: Sampling method for continuous input images
Is there a typo on third row of the table?
Stride Sampled frames
3 1th 4th 7th 11th 13th
or
3 1th 4th 7th 10th 13th
train my own dataset
CUDA out of memory.
/root/data/anaconda3/envs/py36/lib/python3.6/site-packages/torch/optim/lr_scheduler.py:100: UserWarning: Detected call of lr_scheduler.step()
before optimizer.step()
. In PyTorch 1.1.0 and later, you should call them in the opposite order: optimizer.step()
before lr_scheduler.step()
. Failure to do this will result in PyTorch skipping the first value of the learning rate schedule.See more details at https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate
"https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate", UserWarning)
Traceback (most recent call last):
File "train.py", line 132, in
train(args, epoch, model, train_loader, device, optimizer, criterion)
File "train.py", line 18, in train
output = model(data)
File "/root/data/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in call
result = self.forward(*input, **kwargs)
File "/root/data/AIModel/Robust-Lane-Detection/LaneDetectionCode/model.py", line 53, in forward
x1 = self.inc(item)
File "/root/data/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in call
result = self.forward(*input, **kwargs)
File "/root/data/AIModel/Robust-Lane-Detection/LaneDetectionCode/utils.py", line 32, in forward
x = self.conv(x)
File "/root/data/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in call
result = self.forward(*input, **kwargs)
File "/root/data/AIModel/Robust-Lane-Detection/LaneDetectionCode/utils.py", line 22, in forward
x = self.conv(x)
File "/root/data/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in call
result = self.forward(*input, **kwargs)
File "/root/data/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/modules/container.py", line 92, in forward
input = module(input)
File "/root/data/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in call
result = self.forward(*input, **kwargs)
File "/root/data/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 345, in forward
return self.conv2d_forward(input, self.weight)
File "/root/data/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 342, in conv2d_forward
self.padding, self.dilation, self.groups)
RuntimeError: CUDA out of memory. Tried to allocate 4.98 GiB (GPU 0; 15.90 GiB total capacity; 7.36 GiB already allocated; 1.07 GiB free; 6.77 GiB cached)
I have a 16GB GPU, but I keep getting this error.
I was wondering how you trained on two GPUs.
By the way, I am using Pytorch 1.3.1.
Thanks for your help!
13th frame groundtruth in the original tusimple format
Hi, thanks for the nice work. The groundtruth of the 13th frames are now jpgs, which are binary segmentation masks without any lane specific labels. I'm wondering if the groudthuth in the original tusimple json format is available. Or if the segmentation masks can be instance segmentation masks, that would also be very helpful. Thanks!
How about change convlstm to concat among multiframes?
Is compare the single frame input with multi-frame input unfair?
evaluate
What does these code mean as fellows in "test.py"? Will it make the evaluate results higher?
label_precision= cv2.dilate(lab, kernel) pred_recall = cv2.dilate(img, kernel)
在12种场景下的数据集指标怎么计算?
12种不同场景下的图片都有标签,计算指标是只计算间隔五张的指标还是为每张图片生成预测结果再计算指标呢?可以为每张连续图片生成结果吗,还是只能五张五张生成结果?
how to identify different types of lanes?double yellow, solid white, dotted white, etc
Evaluation index
Hi author, the evaluation metrics of your code after testing only contain Accuracy, Precision, Recall, F1-Measure, how to find out FP and FN based on these four values? You have presented the values of FP and FN in your paper. Can you share the code to find the FP and FN, thanks a lot!
model.py 关于LSTM的使用有一处不是很懂
您好,有一处问题想请教一下
lstm, _ = self.convlstm(data) test = lstm[0][-1,:,:,:,:]
第一行是定义了2层的lstm,一层用于提取特征,一层用于集成。
第二行的test =test = lstm[0][-1,:,:,:,:] 。 不知道是什么意思, 希望能解答一下, 谢谢
How can I use this model in 1280x720 images ?
I'm using this model, but I want to use in 1280x720 images, how I can ? I'm trying to pic the binary result image and resizing to 1280x720, but the results are bad.
这个能用到气体数据集上吗
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.