Skip to content

Commit 0389855

Browse files
committed
avoid conflicts in child process
1 parent 3ca1b08 commit 0389855

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/io/bioimage/modelrunner/pytorch/JavaWorker.java

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public class JavaWorker {
2929
* args of the parent process
3030
*/
3131
public static void main(String[] args) {
32+
System.clearProperty("PYTORCH_FLAVOR");
3233

3334
try(Scanner scanner = new Scanner(System.in)){
3435
PytorchInterface pi;

0 commit comments

Comments
 (0)