Giter Club home page Giter Club logo

Comments (8)

xinge008 avatar xinge008 commented on June 1, 2024

@lisilin013 do you modify the semantickitti.yaml? I can not reproduce your error when running the codebase without modification.

from cylinder3d.

lisilin013 avatar lisilin013 commented on June 1, 2024

I modified the dataset path and make a new dir model_save_dir then move the mode download from LINK1 to model_save_dir.

image

image

from cylinder3d.

xinge008 avatar xinge008 commented on June 1, 2024

How about these dataset_params, can you show them.

From the log, it seems there exist some syntax errors in the config file. It's better to show them all.

from cylinder3d.

lisilin013 avatar lisilin013 commented on June 1, 2024

Git diff results is shown as the following picture:
image

The complete params are listed as follows:

# Config format schema number
format_version: 4

###################
## Model options
model_params:
  model_architecture: "cylinder_asym"

  output_shape:
    - 480
    - 360
    - 32

  fea_dim: 9
  out_fea_dim: 256
  num_class: 20
  num_input_features: 16
  use_norm: True
  init_size: 32


###################
## Dataset options
dataset_params:
  dataset_type: "cylinder_dataset"
  pc_dataset_type: "SemKITTI_sk"
  ignore_label: 0
  return_test: False
  fixed_volume_space: True
  label_mapping: "./config/label_mapping/semantic-kitti.yaml"
  max_volume_space:
    - 50
    - 3.1415926
    - 2
  min_volume_space:
    - 0
    - -3.1415926
    - -4


###################
## Data_loader options
train_data_loader:
  data_path: "/media/nrsl/software/dataset/semantic_kitti/dataset"
  imageset: "train"
  return_ref: True
  batch_size: 2
  shuffle: True
  num_workers: 4

val_data_loader:
  data_path: "/media/nrsl/software/dataset/semantic_kitti/dataset"
  imageset: "val"
  return_ref: True
  batch_size: 1
  shuffle: False
  num_workers: 4


###################
## Train params
train_params:
  model_load_path: "./model_load_dir/model_load.pt"
  model_save_path: "./model_save_dir/model_save.pt"
  checkpoint_every_n_steps: 4599
  max_num_epochs: 40
  eval_every_n_steps: 4599
  learning_rate: 0.001

from cylinder3d.

xinge008 avatar xinge008 commented on June 1, 2024

The config looks good.

How about the pc_dataset.py? Do you have any modification.

from cylinder3d.

lisilin013 avatar lisilin013 commented on June 1, 2024

No, I didn't change any files except the config file.
I just download this repo again, and just modify the config file. The problem is reproduced as before.
It was wired.

from cylinder3d.

xinge008 avatar xinge008 commented on June 1, 2024

In my opinion, there are two possible reasons, 1) the environmental setting, especially the version of pyyaml, pytorch, spconv, etc. 2) there exists some typos.

I just download the code and modify the config file. No error incurs and it works well.

from cylinder3d.

xinge008 avatar xinge008 commented on June 1, 2024

Reopen if there is further information

from cylinder3d.

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.