-
Notifications
You must be signed in to change notification settings - Fork 218
Update code for pytorch 1.9.0 #47
base: main
Are you sure you want to change the base?
Conversation
Hello, sorry for bothering, but why this PR still wasn't merged? |
The original author of the paper/repo (@gberta) no longer works at Facebook, so he doesn’t have permissions to merge it. So unless someone there with the necessary permissions takes notice it likely won’t be merged for the foreseeable future. |
@wanchichen, thank you for your answer! By the way, does your branch works fine? 😄 |
Yeah the branch should work without issues. |
Hi, @wanchichen One small fix:
at the top of |
Thank you @ShoufaChen , it has been fixed. |
hi, I'm trying to set the environment but without any success. How I should update the pull request? manually? since it is not merged. |
You can just clone from my fork: |
Hello William,
Many thanks!!
Can I please ask you another question? I'm more interested in working with
the HowTo100 dataset , I'm trying to understand where to get the
translation from a label that is a number to the actual class of the video
( such as 'preparing breakfast').
Any ideas?
Thanks:)
…On Thu, Jul 13, 2023 at 10:00 AM William Chen ***@***.***> wrote:
You can just clone from my fork: git clone
https://github.com/wanchichen/TimeSformer.git
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6ORCENXNUFLJVMIURDPUG3XP6MJ7ANCNFSM47AGWPXQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@MeSveta From my understanding you should create your own function that maps those features to an integer and/or viceversa. There should be a file inside of the dataset that contains the video path or video as an array and labels (sometimes the labels are in the actual name of the video, this depends on the structure of the dataset). An example for the described above could be: This splits the path of the file in the current index Note that the code heavily relies on the assumption that your dataset is structured as the following: So please modify if your dataset looks different. |
The latest version of pytorch removed some internal code that this repo imports, such as:
container_abcs
fromtorch._six
int_classes
fromtorch._six
Causing anyone running the current TimeSformer code on new versions of pytorch to receive compile-time errors.
The fix is similar to NVIDIA/apex#1049, checking the user's pytorch version before importing the necessary components.