How to export files that pyradiomics need?

As pyradiomics examples show, it requires two files:
a image file and a label file.
Both files are .nrrd format.

What are the steps that 3D slicer export these files after drawing ROI ?

You don’t need to export them if you use the SlicerRadiomics extension.

SlicerRadiomics crashes on my 3d slicer.
I use python to export features.

Be sure to file an issue describing how to replicate any crashes you see:

For running PyRadiomics, best to start with working example data from the tutorials or documentation and then compare the headers with what you get on your data to narrow down why something may not be working.

Thank you for your reply.
I worked with the example data of pyradiomics: a image file (.nrrd) and a mask file (.nrrd).
Next I used 3d slicer to draw my ROI. Then I need to export these two files: image and mask file (.nrrd). This is what I am confused with.

It should work to just save the data. Can you describe what isn’t working?

https://slicer.readthedocs.io/en/latest/user_guide/data_loading_and_saving.html