File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ MASTER_ADDR="localhost" MASTER_PORT=1234 LOCAL_RANK=0 python examples/convert_fr
4242
4343# test that ddp can launched as a module (-m option)
4444echo " Running ddp example as module"
45- export PYTHONPATH=" ${PYTHONPATH} :$( python -c " import pytorch_lightning; print(pytorch_lightning.examples.convert_from_pt_to_pl.image_classifier_5_lightning_datamodule.__file__)" ) "
46- export PYTHONPATH=" ${PYTHONPATH} : $ ( pwd) /examples"
47- export PYTHONPATH=" ${PYTHONPATH} : $ ( pwd) /examples/convert_from_pt_to_pl"
45+ # export PYTHONPATH="${PYTHONPATH}:$(python -c "import pytorch_lightning; print(pytorch_lightning.examples.convert_from_pt_to_pl.image_classifier_5_lightning_datamodule.__file__)")"
46+ export PYTHONPATH=" $( pwd) /examples: ${PYTHONPATH} "
47+ export PYTHONPATH=" $( pwd) /examples/convert_from_pt_to_pl: ${PYTHONPATH} "
4848
4949echo $PYTHONPATH
5050python -m examples.convert_from_pt_to_pl.image_classifier_5_lightning_datamodule ${args}
You can’t perform that action at this time.
0 commit comments