conda create -n <虚拟环境的名字> python=<版本号>
conda create -n pointnet python=3.7
git clone https://github.com/fxia22/pointnet.pytorch
输入pip install -e .(包括后面的句号小点)
pip install torch-1.5.0-cp37-cp37m-win_amd64.whl
python train_classification.py --dataset=E:\lyh\pointnet.pytorch\shapenetcore_partanno_segmentation_benchmark_v0\ --nepoch=5 --dataset_type=shapenet
UserWarning: Detected call of `lr_scheduler.step()` before `optimizer.step()`. In PyTorch 1.1.0 and late
r, 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.
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable.
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!