Repository: voxel51/fiftyone

Issue:
When I load the Cityscapes using the api there is a error
### System information

-   **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**: MacOS Big Sur 11.5.1
-   **FiftyOne installed from (pip or source)**: pip
-   **FiftyOne version (run `fiftyone --version`)**: fiftyone v0.11.2, Voxel51, Inc.
-   **Python version**: 3.7.10

### Commands to reproduce

My python script as below:


```
import fiftyone as fo
import fiftyone.zoo as foz

# The path to the source files that you manually downloaded
source_dir = ".../Developer/Dg/OD/Datasets/Cityscapes"

dataset = foz.load_zoo_dataset(
    "cityscapes",
    source_dir=source_dir,
)

session = fo.launch_app(dataset)
session.wait()
```

### Describe the problem
When I run the script to load the citycrapes dataset it goes wrong and the command output as below

Preparing split 'train' in '.../fiftyone/cityscapes/train'
Parsing fine annotations for split 'train'...
 100% |█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2975/2975 [26.0s elapsed, 0s remaining, 133.4 samples/s]      
Finalizing split 'train'...
Uncaught exception
Traceback (most recent call last):
  File "ReadCityscapes.py", line 9, in <module>
    source_dir=source_dir,
  File "/Applications/anaconda3/envs/fiftyone/lib/python3.7/site-packages/fiftyone/zoo/datasets/__init__.py", line 201, in load_zoo_dataset
    **download_kwargs,
  File "/Applications/anaconda3/envs/fiftyone/lib/python3.7/site-packages/fiftyone/zoo/datasets/__init__.py", line 121, in download_zoo_dataset
    cleanup=cleanup,
  File "/Applications/anaconda3/envs/fiftyone/lib/python3.7/site-packages/fiftyone/zoo/datasets/__init__.py", line 1022, in download_and_prepare
    ) = self._download_and_prepare(split_dir, scratch_dir, split)
  File "/Applications/anaconda3/envs/fiftyone/lib/python3.7/site-packages/fiftyone/zoo/datasets/base.py", line 412, in _download_and_prepare
    person_annos=self.person_annos,
  File "/Applications/anaconda3/envs/fiftyone/lib/python3.7/site-packages/fiftyone/utils/cityscapes.py", line 112, in parse_cityscapes_dataset
    person_annos_dir,
  File "/Applications/anaconda3/envs/fiftyone/lib/python3.7/site-packages/fiftyone/utils/cityscapes.py", line 269, in _export_split
    exporter = foud.FiftyOneDatasetExporter(split_dir, move_media=False)
TypeError: __init__() got an unexpected keyword argument 'move_media'


### What areas of FiftyOne does this bug affect?

-   [√ ] `Core`: Core `fiftyone` Python library issue


### Willingness to contribute

The FiftyOne Community encourages bug fix contributions. Would you or another
member of your organization be willing to contribute a fix for this bug to the
FiftyOne codebase?

-   [√] No. I cannot contribute a bug fix at this time.



Discussion:

Resolving patch:
diff --git a/fiftyone/utils/cityscapes.py b/fiftyone/utils/cityscapes.py
--- a/fiftyone/utils/cityscapes.py
+++ b/fiftyone/utils/cityscapes.py
@@ -19,6 +19,7 @@
 import fiftyone.core.sample as fos
 import fiftyone.core.utils as fou
 import fiftyone.utils.data as foud
+import fiftyone.types as fot
 
 
 logger = logging.getLogger(__name__)
@@ -266,7 +267,7 @@ def _export_split(
     uuids = sorted(images_map.keys())
 
     logger.info("Finalizing split '%s'...", split)
-    exporter = foud.FiftyOneDatasetExporter(split_dir, move_media=False)
+    exporter = foud.LegacyFiftyOneDatasetExporter(split_dir)
     pb = fou.ProgressBar()
     with exporter, pb:
         exporter.log_collection(dataset)
diff --git a/fiftyone/utils/data/exporters.py b/fiftyone/utils/data/exporters.py
--- a/fiftyone/utils/data/exporters.py
+++ b/fiftyone/utils/data/exporters.py
@@ -1329,7 +1329,6 @@ class LegacyFiftyOneDatasetExporter(GenericSampleDatasetExporter):
             -   ``"move"``: move media files into the export directory
             -   ``"symlink"``: create symlinks to each media file in the export
                 directory
-
         relative_filepaths (True): whether to store relative (True) or absolute
             (False) filepaths to media files on disk in the output dataset
         pretty_print (False): whether to render the JSON in human readable
@@ -1493,7 +1492,6 @@ class FiftyOneDatasetExporter(BatchDatasetExporter):
             -   ``"move"``: move media files into the export directory
             -   ``"symlink"``: create symlinks to each media file in the export
                 directory
-
         rel_dir (None): a relative directory to remove from the ``filepath`` of
             each sample, if possible. The path is converted to an absolute path
             (if necessary) via ``os.path.abspath(os.path.expanduser(rel_dir))``.


Test patch: