-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run ./train_net.py AttributeError: module 'distutils' has no attribute 'version' #3811
Comments
It would be fine when use PyTorch (1.8.2+cu111). python3 ./train_net.py --config-file ../configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml --num-gpus 1 SOLVER.IMS_PER_BATCH 2 SOLVER.BASE_LR 0.0025 sys.platform linux PyTorch built with:
|
Hi, I tried to downgrade the setuptools and then it works.
|
Duplicate of pytorch/pytorch#69894 |
Instructions To Reproduce the 🐛 Bug:
run, such as a private dataset.
Expected behavior:
If there are no obvious error in "full logs" provided above,
please tell us the expected behavior.
Environment:
Provide your environment information using the following command:
sys.platform linux
Python 3.6.9 (default, Dec 8 2021, 21:08:43) [GCC 8.4.0]
numpy 1.19.5
detectron2 0.6 @/home/nvidia/detectron2/detectron2
Compiler GCC 7.5
CUDA compiler CUDA 11.4
detectron2 arch flags 8.6
DETECTRON2_ENV_MODULE
PyTorch 1.10.1+cu113 @/home/nvidia/.local/lib/python3.6/site-packages/torch
PyTorch debug build False
GPU available Yes
GPU 0 NVIDIA GeForce RTX 3070 (arch=8.6)
Driver version 510.06
CUDA_HOME /usr/local/cuda
Pillow 8.4.0
torchvision 0.11.2+cu113 @/home/nvidia/.local/lib/python3.6/site-packages/torchvision
torchvision arch flags 3.5, 5.0, 6.0, 7.0, 7.5, 8.0, 8.6
fvcore 0.1.5.post20211023
iopath 0.1.9
cv2 4.5.4
PyTorch built with:
If your issue looks like an installation issue / environment issue,
please first try to solve it yourself with the instructions in
https://detectron2.readthedocs.io/tutorials/install.html#common-installation-issues
The text was updated successfully, but these errors were encountered: