Open us opened 4 years ago
Do you do anything special to install torch?
I get:
ERROR: Could not find a version that satisfies the requirement torch==1.2.0 (from -r requirements.txt (line 6)) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch==1.2.0 (from -r requirements.txt (line 6))
The last time this happened in another project I think I gave up :(
@dakotahawkins Installing Pytorch for windows by pip need special links, e.g.
You can find more information from pytorch official website
Yeah I tried that. Maybe now it's because I installed python 3.8, idk.
At any rate, for windows support I'd consider adding this step to some kind of script. I tried (everything short of downgrading python) but couldn't make it work.
@dakotahawkin, It seems that there are not offical support of python3.8 till now, you should use python3.7 or python3.6 etc as shown in above figure
@dakotahawkins check in cmd where python, where pip, where pip3 and see if you dont have any wrong environmentals. i had 2.x hijacking my 3.7, had to remove the paths and then torch would install.
@us is numpy.array.long() working for you?
to get output video in win, change this line:
https://github.com/us/impersonator/blob/45fe9813d5d1c93cdf769d2cabca040c5ce72846/utils/video.py#L49
to :
os.system("ffmpeg -y -i %s -vcodec h264 %s" % (tmp_avi_video_path, output_mp4_path))
Tested on windows 10.