Git Product home page Git Product logo

Comments (3)

pangsu0613 avatar pangsu0613 commented on August 10, 2024

Hello @abhishek-t-naive,
For training SECOND and then using it for CLOCs, I suggest using the original SECOND-V1.5 codebase instead of CLOCs codebase, you can follow the instructions here: https://github.com/traveller59/second.pytorch/tree/v1.5. Since you have already configured your environment for CLOCs, it would be very easy for you to run SECOND-V1.5 (remember to modify your PYTHONPATH).
The reason is that although CLOCs codebase is based on SECOND, but there are significant changes compared to original SECOND, and it is made to train CLOCs fusion network, not SECOND network. It is not trivial to make modifications on CLOCs to make it train SECOND network.

from clocs.

abhishektyagi-t avatar abhishektyagi-t commented on August 10, 2024

Thank you for your quick response.
My intention is to use the exact SECOND configuration present in CLOCS which includes using things like VoxelFeatureExtractorV3 for voxel feature extraction, SpMiddleVision as middle feature extractor and RPNV2 as RPN. But these are not present in the original SECOND codebase.

  1. Do you recommend that I do these changes (and others) to basically make the original SECOND codebase similar to the SECOND code used in CLOCS?

  2. I am trying to retrain the network because I am trying to re-write the blocks like
    block = Sequential( nn.ZeroPad2d(1), Conv2d( in_filters[i], num_filters[i], 3, stride=layer_strides[i]), BatchNorm2d(num_filters[i]), nn.ReLU(), )

into

self.zero = nn.ZeroPad2d(1) self.conv1 = conv2d(in_filters[i], num_filters[i], 3, stride=layer_strides[i]) self.batchnorm = BatchNorm2d(num_filters[i]) self.relu = nn.RELU()

So these changes mean that I can't use the already provided weights. If you have a better suggestion of doing these changes and not requiring training please let me know.

from clocs.

pangsu0613 avatar pangsu0613 commented on August 10, 2024

Hello @abhishek-t-naive , sorry for the late response.
The SECOND-V1.5 configuration present in CLOCs is the original SECOND-V1.5 configuration in SECOND-V1.5 codebase, I didn't modify SECOND-V1.5 in CLOCs. You could have a look at the original SECOND-V1.5 codebase (https://github.com/traveller59/second.pytorch/tree/v1.5). The VoxelFeatureExtractorV3 and SpMiddleVision you mentioned is implemented and applied in SECOND-V1.5, you could check their config file here: https://github.com/traveller59/second.pytorch/blob/v1.5/second/configs/car.fhd.config
I am not fully understand your intention, please let me know if your have further questions.

from clocs.

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.