Git Product home page Git Product logo

Comments (7)

sephyli avatar sephyli commented on July 22, 2024 3

Hi, thank you for your issue.

  1. To resolve the issue, please try adding the root directory of the LaneSegNet repository to your PYTHONPATH env. You can achieve this by including the following code in either your .bashrc file or the dist_train.sh shell script.
export PYTHONPATH="\path\to\LaneSegNet:$PYTHONPATH"

2 & 3. We would add visualization code very soon, please stay tune.

We apologize for any inconvenience caused.

from lanesegnet.

sephyli avatar sephyli commented on July 22, 2024 2

Hi, @winginwind. The visualization code is ready!

You can use --show option to visualize the results.

./dist_test.sh 8 --show

from lanesegnet.

fuchangjie avatar fuchangjie commented on July 22, 2024 1

Hi, @winginwind. The visualization code is ready!
You can use --show option to visualize the results.

./dist_test.sh 8 --show

Hi, have you tested in _single_gpu_mode? It seems that there is a mmdet3d bug when I tried to run test.py.

yeah,
first, you can modify the test.py like

        if not distributed:
            # model = MMDataParallel(model, device_ids=cfg.gpu_ids)
            # outputs = single_gpu_test(model, data_loader, args.show, args.show_dir)
            model = MMDataParallel(model, device_ids=[0])
            outputs = single_gpu_test(model, data_loader, False, args.out_dir)

then, you can modify the dist_test.sh like

python tools/test.py $CONFIG $CHECKPOINT \
    --out-dir ${WORK_DIR}/test --eval openlane_v2 ${@:2} \
    2>&1 | tee ${WORK_DIR}/test.${timestamp}.log

finally, you can run without distribution like

./tools/dist_test.sh 1 --show

@Ironbrotherstyle

from lanesegnet.

Ironbrotherstyle avatar Ironbrotherstyle commented on July 22, 2024
  1. when load config, I got "No module named 'projects'" error
  2. I need to do some debug if I want to run single_gpu_test, but the MMdetection3D visualization API show_results seems can't support the visualization
  3. so I use '--evaluate' finally, but I found the function show of OpenLaneV2_subset_A_LaneSegNet_Dataset isn't impelemented yet

so how can I get the visualization results? Is the code ready to do it? If not, when will you impelement it?

thx

Hi, single_gpu_test still has error '*** TypeError: show_results() got an unexpected keyword argument 'show'', have you solved the problem?

from lanesegnet.

Ironbrotherstyle avatar Ironbrotherstyle commented on July 22, 2024

Hi, @winginwind. The visualization code is ready!

You can use --show option to visualize the results.

./dist_test.sh 8 --show

Hi, have you tested in _single_gpu_mode? It seems that there is a mmdet3d bug when I tried to run test.py.

from lanesegnet.

sephyli avatar sephyli commented on July 22, 2024

from lanesegnet.

Ironbrotherstyle avatar Ironbrotherstyle commented on July 22, 2024

False, args.out_dir

Thx, similar to my solution, succeed in testing on single GPU, but failed in testing in show mode.

from lanesegnet.

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.