sergeytulyakov / mocogan

MoCoGAN: Decomposing Motion and Content for Video Generation
578 stars 114 forks source link

Got segmentation fault(core dumped) when tried to run train.py #11

Closed vipulbjj closed 6 years ago

vipulbjj commented 6 years ago

I've not used docker and installed dependencies by pip as instructed in the wiki. Actually, the error is coming in loggers file while importing tensorflow. I found out this while debugging this error. Please provide a solution @sergeytulyakov Segmentation fault (core dumped) train.py calls trainers.py which calls loggers.py.

6

sergeytulyakov commented 6 years ago

Are you able to import tensorflow in any other project?

vipulbjj commented 6 years ago

Yes I simply checked it by importing in python. It works.

vipulbjj commented 6 years ago

https://github.com/tensorflow/tensorflow/issues/2034 Is it something related to this link?

Jehereg commented 6 years ago

Not sure if it's the same situation (or even still relevant). In my setup the Segmentation fault occurs when I import torch before tensorflow. In train.py : Importing Trainer before torch helped.

vipulbjj commented 6 years ago

@Jehereg That worked for me. Thanks. But I still wonder why is this happening? Importing torch before tensorflow giving segmentation fault is sort of a weird problem.