Code Monkey home page Code Monkey logo

Comments (12)

alievk avatar alievk commented on June 3, 2024 2

@AndreasW79 you ran install_windows.bat from the scripts folder, but you have to do it from the root avatarify folder, as it is mentioned in the readme.

from avatarify-python.

alexeev-dev avatar alexeev-dev commented on June 3, 2024 1

i've updated python to version 3 and it is works now

from avatarify-python.

exgllo avatar exgllo commented on June 3, 2024 1

running the install from avatarify root solved my issue. Thanks

from avatarify-python.

exgllo avatar exgllo commented on June 3, 2024

Windows 10

Traceback (most recent call last):
File "cam_fomm.py", line 13, in
from sync_batchnorm import DataParallelWithCallback
ModuleNotFoundError: No module named 'sync_batchnorm'

from avatarify-python.

AndreasW79 avatar AndreasW79 commented on June 3, 2024

Same here, Windows 10 latest.
Traceback (most recent call last): File "cam_fomm.py", line 13, in <module> from sync_batchnorm import DataParallelWithCallback ModuleNotFoundError: No module named 'sync_batchnorm'

from avatarify-python.

alievk avatar alievk commented on June 3, 2024

Do you run run_windows.bat from avatarify root folder?
Is fomm in avatarify folder?
Where there any errors during installation?

from avatarify-python.

AndreasW79 avatar AndreasW79 commented on June 3, 2024

Thanks for the fast reply.
fomm is inside the scripts folder.
run_windows.bat is in root folder, there was it started from.
No errors during installation.
(except if i start install_windows.bat within scripts folder, this line fails:
call scripts/settings_windows.bat
because of wrong path.)

from avatarify-python.

AndreasW79 avatar AndreasW79 commented on June 3, 2024

@AndreasW79 you ran install_windows.bat from the scripts folder, but you have to do it from the root avatarify folder, as it is mentioned in the readme.

yes after your first reply i guess it could be that... will start with a fresh install.
Thank you!

from avatarify-python.

virajs16 avatar virajs16 commented on June 3, 2024

@alievk facing the same issue on mac. I have both run_mac.sh and cam.fomm.py in the root folder
File "cam_fomm.py", line 13, in
from sync_batchnorm import DataParallelWithCallback
ModuleNotFoundError: No module named 'sync_batchnorm'

Reinstalling solved the issue.

from avatarify-python.

celeronpm avatar celeronpm commented on June 3, 2024

@AndreasW79 you ran install_windows.bat from the scripts folder, but you have to do it from the root avatarify folder, as it is mentioned in the readme.

Now I get:

cam_fomm.py:34: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config = yaml.load(f)
Traceback (most recent call last):
File "cam_fomm.py", line 215, in
generator, kp_detector = load_checkpoints(config_path=opt.config, checkpoint_path=opt.checkpoint, device=device)
File "cam_fomm.py", line 44, in load_checkpoints
checkpoint = torch.load(checkpoint_path, map_location=device)
File "C:\Users\md101064\Miniconda3\envs\avatarify\lib\site-packages\torch\serialization.py", line 525, in load
with _open_file_like(f, 'rb') as opened_file:
File "C:\Users\md101064\Miniconda3\envs\avatarify\lib\site-packages\torch\serialization.py", line 212, in _open_file_like
return _open_file(name_or_buffer, mode)
File "C:\Users\md101064\Miniconda3\envs\avatarify\lib\site-packages\torch\serialization.py", line 193, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'vox-adv-cpk.pth.tar'

from avatarify-python.

alievk avatar alievk commented on June 3, 2024

@celeronpm did you download and put vox-adv-cpk.pth.tar into avatar root directory?

from avatarify-python.

celeronpm avatar celeronpm commented on June 3, 2024

@celeronpm did you download and put vox-adv-cpk.pth.tar into avatar root directory?

All this was user error, thanks for helping!

from avatarify-python.

Related Issues (20)

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.