File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -42,5 +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.__file__)" ) "
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"
48+
49+ echo $PYTHONPATH
4650python -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