Closed alexjin98 closed 2 years ago
Hi, what are your Python and pyyaml versions? Maybe try to upgrade them to the latest version.
Hi. I have python 3.8 and pyyaml 6.0
Another thing, I cannot seem to download the COCO dataset from its website. Do not know if the issue has anything related to that.
I think the fix is actually to downgrade your pyyaml version (e.g. to version 5), as suggested here.
Thank you. It solved the problem.
I now face another issue. Since I'm running on a macOS, I cannot run with the CUDA driver, as seen below.
Is there a solution for users using macOS running on an M1?
(mlp) alexandre@Alexandres-MacBook-Air superpoint % python experiment.py train configs/magic-point_shapes.yaml magic-point_synth
experiment.py:153: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config = yaml.load(f)
[06/10/2022 11:24:56 INFO] Running command TRAIN
Traceback (most recent call last):
File "experiment.py", line 160, in
Unfortunately, this code can only be run on GPU for now. I guess it could be made compatible with CPU by changing all the parts of the code using GPU into CPU, and removing the search for CUDA_VISIBLE_DEVICES, but this might require a bit of work...
Ok. Thank you for your time!
Hi! I'm having this problem when trying to train the MagicPoint on Susthetic Shapes. I'm a beginner at this so sorry if this is a dumb question. Thank you.
Here is the terminal command and respective output:
(mlp) alexandre@Alexandres-MacBook-Air superpoint % python experiment.py train configs/magic-point_shapes.yaml magic-point_synth Traceback (most recent call last): File "experiment.py", line 153, in
config = yaml.load(f)
TypeError: load() missing 1 required positional argument: 'Loader'