GithubHelp home page GithubHelp logo

Comments (2)

Rubiel1 avatar Rubiel1 commented on August 29, 2024

Hi @Gigibulid did you solve your problem? I am working with 100 images and I get:

  warnings.warn(msg, SourceChangeWarning)
INFO - 04/22/20 18:39:46 - 0:00:25 - 100 / 0 / 0 images with attributes for train / valid / test sets
/home/ericd/tests/FaderNetworks/src/loader.py:140: UserWarning: volatile was removed and now has no effect. Use `with torch.no_grad():` instead.
  return Variable(batch_x, volatile=True), Variable(batch_y, volatile=True)
Traceback (most recent call last):
  File "interpolate.py", line 96, in <module>
    interpolations.append(get_interpolations(ae, images, attributes, params))
  File "interpolate.py", line 72, in get_interpolations
    enc_outputs = ae.encode(images)
  File "/home/ericd/tests/FaderNetworks/src/model.py", line 106, in encode
    enc_outputs.append(layer(enc_outputs[-1]))
  File "/home/ericd/anaconda/envs/myPytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ericd/anaconda/envs/myPytorch/lib/python3.6/site-packages/torch/nn/modules/container.py", line 100, in forward
    input = module(input)
  File "/home/ericd/anaconda/envs/myPytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ericd/anaconda/envs/myPytorch/lib/python3.6/site-packages/torch/nn/modules/batchnorm.py", line 106, in forward
    self.training or not self.track_running_stats,
  File "/home/ericd/anaconda/envs/myPytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 576, in __getattr__
    type(self).__name__, name))
AttributeError: 'BatchNorm2d' object has no attribute 'track_running_stats'

from fadernetworks.

Rubiel1 avatar Rubiel1 commented on August 29, 2024

Apparently my problem has to do with the Pytorch version, perhaps this should be on dependencies. https://discuss.pytorch.org/t/batchnorm2d-object-has-no-attribute-track-running-stats/17525

from fadernetworks.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.